diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index 758ed61..0000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,2 +0,0 @@ -[target.wasm32-unknown-unknown] -runner = "wasm-server-runner" diff --git a/.cargo/fast_compiles_config b/.cargo/fast_compiles_config new file mode 100644 index 0000000..5ca2e37 --- /dev/null +++ b/.cargo/fast_compiles_config @@ -0,0 +1,17 @@ +# Copy the content of this file to `.cargo/config.toml` + +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-Clink-arg=-fuse-ld=lld"] + +[target.x86_64-apple-darwin] +rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld"] + +[target.aarch64-apple-darwin] +rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/bin/zld"] + +[target.x86_64-pc-windows-msvc] +linker = "rust-lld.exe" + +[target.wasm32-unknown-unknown] +runner = "wasm-server-runner"