Skip to main content
check_lto_allowed
rustc_
codegen_
ssa
1.95.0-nightly
(1ed488274 2026-02-25)
In rustc_
codegen_
ssa::
back::
lto
rustc_codegen_ssa
::
back
::
lto
Function
check_
lto_
allowed
Copy item path
Source
pub(super) fn check_lto_allowed(cgcx: &
CodegenContext
, dcx:
DiagCtxtHandle
<'_>)