mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
f837c48f0d
Fix #90546 by filtering out global value function pointer types from the type tests, and adding the LowerTypeTests pass to the rustc LTO optimization pipelines.
9 lines
237 B
Rust
9 lines
237 B
Rust
// 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]
|