mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-20 05:13:12 +00:00
10 lines
243 B
Rust
10 lines
243 B
Rust
// Checks that `-Z instrument-xray` produces expected instrumentation.
|
|
//
|
|
// needs-xray
|
|
// compile-flags: -Z instrument-xray=always
|
|
|
|
#![crate_type = "lib"]
|
|
|
|
// CHECK: attributes #{{.*}} "function-instrument"="xray-always"
|
|
pub fn function() {}
|