mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-06 04:08:40 +00:00
10 lines
293 B
Rust
10 lines
293 B
Rust
![]() |
// Verifies that `-Zsanitizer-cfi-generalize-pointers` requires `-Zsanitizer=cfi` or
|
||
|
// `-Zsanitizer=kcfi`.
|
||
|
//
|
||
|
// needs-sanitizer-cfi
|
||
|
// compile-flags: -Clto -Cno-prepopulate-passes -Ctarget-feature=-crt-static -Zsanitizer-cfi-generalize-pointers
|
||
|
|
||
|
#![feature(no_core)]
|
||
|
#![no_core]
|
||
|
#![no_main]
|