mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 21:16:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			306 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			306 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ 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() {}
 | 
