🔧 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:
Belén Albeza 2025-04-07 14:08:41 +02:00 committed by GitHub
parent d279b6c232
commit 6f91da9461
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 50 additions and 8 deletions

View file

@ -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!();
}