shinchiro / mpv-winbuild-cmake

CMake-based MinGW-w64 Cross Toolchain
659 stars 117 forks source link

lld: use --icf=all #603

Closed Andarwinux closed 9 months ago

Andarwinux commented 10 months ago

ref: https://doc.rust-lang.org/nightly/nightly-rustc/src/bootstrap/core/build_steps/compile.rs.html#916

This is the default behavior of msvc link/lld-link, so at least for Windows, --icf=all is safe. I've been using --icf=all for a couple months now and haven't noticed any problems.

shinchiro commented 9 months ago

No. I'll stick with safeicf