jazzay / flecs-rs

Rust bindings for the Flecs ECS library
MIT License
69 stars 9 forks source link

criterion lib isnt building when building anything. #11

Open logixworx opened 1 year ago

logixworx commented 1 year ago

I just comment it out in the dependencies to get around it for now, since its only used in the benchmark

error: could not compile criterion (lib) due to previous error

error: Rayon cannot be used when targeting wasi32. Try disabling default features. --> C:\Users\MBS.cargo\registry\src\index.crates.io-6f17d22bba15001f\criterion-0.4.0\src\lib.rs:31:1 | 31 | compile_error!("Rayon cannot be used when targeting wasi32. Try disabling default features."); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: could not compile criterion (lib) due to previous error