Sign in
fuchsia
/
third_party
/
rust
/
c38f75c21f016bffbf841ed5abce338f94201bde
/
.
/
tests
/
ui
/
sanitizer
/
cfi-requires-lto.rs
blob: 5a34f696e0546ea3bb8e2628b9b18eb9c138f012 [
file
] [
log
] [
blame
]
// 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
]