Skip to main content
check_lto_allowed
rustc_
codegen_
ssa
1.101.0-beta.4
(0377038f9 2026-11-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
<'_>)