[Bug 277333] Mk/Features/lto.mk: passing -C lto=no breaks LTO_UNSAFE ports

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 26 Mar 2024 13:06:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277333

--- Comment #4 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Gleb Popov from comment #3)
Added in ports 1b286170da8f and supposed to override lto=true in Cargo.toml but
unlike CARGO_PROFILE_RELEASE_LTO=false has the opposite effect.

See also
https://doc.rust-lang.org/rustc/codegen-options/index.html#lto
https://doc.rust-lang.org/cargo/reference/profiles.html#lto
Notice, Cargo has different behavior between "false" and "off".lto=no

-- 
You are receiving this mail because:
You are on the CC list for the bug.