cargo-xwin
cargo-xwin copied to clipboard
Linker args in rustflags
I'm trying to set linker flags for identical code folding with xwin using
-Clink-args=-fuse-ld=lld -Clink-args=-Wl,--icf=all
However, both this and -Clink-args=-fuse-ld=rust-lld.exe
(set as the linker in .cargo/config of Bevy fast builds) do not work as the code sizes seem to be exactly the same. Should I use a different compiler flag to set a linker for msvc or does the linker have a different name?