mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			435 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			435 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // revisions: WINDOWS ANDROID
 | |
| // compile-flags: -C panic=abort -Copt-level=0
 | |
| // [WINDOWS] compile-flags: --target=x86_64-pc-windows-msvc
 | |
| // [WINDOWS] needs-llvm-components: x86
 | |
| // [ANDROID] compile-flags: --target=armv7-linux-androideabi
 | |
| // [ANDROID] needs-llvm-components: arm
 | |
| 
 | |
| #![feature(no_core, lang_items)]
 | |
| #![crate_type = "lib"]
 | |
| #![no_core]
 | |
| 
 | |
| #[lang = "sized"]
 | |
| trait Sized {}
 | |
| 
 | |
| // CHECK: attributes #{{.*}} uwtable
 | |
| pub fn foo() {}
 | 
