mirror of
https://github.com/penpot/penpot.git
synced 2025-07-19 05:47:19 +02:00
🔧 Fix Rust tests (#6208)
* 🔧 Fix test script (rust wasm) * 🔧 Make code compile in test mode + using aarch64 as a target for tests
This commit is contained in:
parent
d279b6c232
commit
6f91da9461
8 changed files with 50 additions and 8 deletions
|
@ -1,6 +1,7 @@
|
|||
use skia_safe as skia;
|
||||
|
||||
mod debug;
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
mod emscripten;
|
||||
mod math;
|
||||
mod mem;
|
||||
|
@ -840,5 +841,6 @@ pub extern "C" fn set_grid_cells() {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
init_gl!();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue