Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
sanitizer
/
cfi
/
requires-lto.rs
blob: 5a34f696e0546ea3bb8e2628b9b18eb9c138f012 [
file
] [
log
] [
blame
] [
edit
]
// Verifies that `-Zsanitizer=cfi` requires `-Clto` or `-Clinker-plugin-lto`.
//
//@ needs-sanitizer-cfi
//@ compile-flags: -Cno-prepopulate-passes -Ctarget-feature=-crt-static -Zsanitizer=cfi
#![
feature
(
no_core
)]
#![
no_core
]
#![
no_main
]