| 1 |
|
| 2 |
# Note: Cargo doesn't carry these settings to dependencies. They only affect the |
| 3 |
# process of directly building the crate. This is so that we can easily use |
| 4 |
# `cargo test` and `cargo doc` and so on during development. |
| 5 |
|
| 6 |
[build] |
| 7 |
# This can cause weirdness! |
| 8 |
rustflags = ["-Ctarget-cpu=native"] |
| 9 |
rustdocflags = ["-Ctarget-cpu=native"] |
| 10 |
|
| 11 |
[target.wasm32-wasi] |
| 12 |
runner = "wasmtime run --wasm-features all --dir ." |
| 13 |
rustflags = ["-Ctarget-feature=+simd128,+bulk-memory,+nontrapping-fptoint,+sign-ext"] |