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
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 errorerror: 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