about summary refs log tree commit diff
path: root/tests/rustdoc-ui/doctest/per-target-ignores.rs
blob: 3dea7099b4be3705121aa5e939d6803c8c2c1281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//@ only-aarch64
//@ compile-flags:--test
//@ normalize-stdout: "tests/rustdoc-ui/doctest" -> "$$DIR"
//@ normalize-stdout: "finished in \d+\.\d+s" -> "finished in $$TIME"
//@ check-pass

///```ignore-x86_64
/// assert!(cfg!(not(target_arch = "x86_64")));
///```
pub fn foo() -> u8 {
    4
}

fn main() {}