Only enable canary-script api module on wasm32
This commit is contained in:
parent
9614eecb82
commit
70a4d5b49b
|
@ -3,6 +3,8 @@
|
|||
|
||||
use super::*;
|
||||
|
||||
use num_traits::FromPrimitive;
|
||||
|
||||
pub mod abi;
|
||||
|
||||
#[macro_export]
|
||||
|
|
|
@ -5,8 +5,8 @@ use bitflags::bitflags;
|
|||
use bytemuck::{Pod, Zeroable};
|
||||
pub use glam::Vec2;
|
||||
use num_derive::{FromPrimitive, ToPrimitive};
|
||||
use num_traits::FromPrimitive;
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
pub mod api;
|
||||
|
||||
#[repr(C)]
|
||||
|
|
Loading…
Reference in New Issue