Skip to main content
check_lto_allowed
rustc_
codegen_
ssa
1.97.0-nightly
(e9e32aca5 2026-04-17)
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
<'_>)