3 ms·
If the slowless you're seeing is caused by the linker, which can very well be the case, consider using LLD as you can see significant speed improvements to the
by estebank 6y ago
If the slowless you're seeing is caused by the linker, which can very well be the case, consider using LLD as you can see significant speed improvements to the linking step.
https://github.com/rust-lang/rust/issues/39915#issuecomment-618726211 https://github.com/rust-lang/rust/issues/39915#issuecomment-...
https://doc.rust-lang.org/1.22.0/unstable-book/compiler-flags/linker-flavor.html https://doc.rust-lang.org/1.22.0/unstable-book/compiler-flag...
If installed, you can run
RUSTFLAGS="-Clink-arg=-fuse-ld=lld" cargo build --release