rust/tests/ui/sanitize/sanitizer-cfi-canonical-jump-tables-require-cfi.rs
2024-02-16 20:02:50 +00:00

9 lines
274 B
Rust

// Verifies that `-Zsanitizer-cfi-canonical-jump-tables` requires `-Zsanitizer=cfi`.
//
//@ needs-sanitizer-cfi
//@ compile-flags: -Cno-prepopulate-passes -Ctarget-feature=-crt-static -Zsanitizer-cfi-canonical-jump-tables=false
#![feature(no_core)]
#![no_core]
#![no_main]