config.toml (609B)
1 2 #[target.x86_64-unknown-linux-gnu] 3 #linker = "/usr/bin/clang" 4 #rustflags = [ 5 # "-Clink-arg=-fuse-ld=lld", 6 # "-Zshare-generics=y" 7 #] 8 9 # NOTE: you must manually install https://github.com/michaeleisel/zld on mac. you can easily do this with the "brew" package manager: 10 # `brew install michaeleisel/zld/zld` 11 #[target.x86_64-apple-darwin] 12 #rustflags = [ 13 # "-C", 14 # "link-arg=-fuse-ld=/usr/local/bin/zld", 15 # "-Zshare-generics=y", 16 # "-Csplit-debuginfo=unpacked" 17 #] 18 19 #[target.x86_64-pc-windows-msvc] 20 #linker = "rust-lld.exe" 21 #rustflags = [ 22 # #"-Zshare-generics=y" 23 # "-Zshare-generics=off" 24 #]