diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..80ab1b7 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,11 @@ +# If we want threading +# [target.wasm32-unknown-unknown] +# rustflags = ["-C", "target-feature=+atomics,+bulk-memory,+mutable-globals"] +# rustflags = ["-C", "target-feature=+bulk-memory,+mutable-globals"] + +[target.wasm32-unknown-unknown] +rustflags = ["-C", "target-feature=+simd128"] + +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"]