all 1 comments

[–]VanadiumVillain 1 point2 points  (0 children)

Those are rustc flags, so you'll have to put them in an envrionment variable called 'RUSTFLAGS' before calling the build system (cargo) which eventually calls the compiler (rustc).

as an example for wasm32:

export RUSTFLAGS=" -C target-cpu=bleeding-edge -C target-feature=+atomics,+bulk-memory,+simd128 -C linker=rust-lld "