mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			311 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			311 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // Compiler:
 | |
| //
 | |
| // Run-time:
 | |
| //   status: signal
 | |
| 
 | |
| #![feature(no_core)]
 | |
| #![no_std]
 | |
| #![no_core]
 | |
| #![no_main]
 | |
| 
 | |
| extern crate mini_core;
 | |
| use mini_core::*;
 | |
| 
 | |
| fn fail() -> i32 {
 | |
|     unsafe { intrinsics::abort() };
 | |
|     0
 | |
| }
 | |
| 
 | |
| #[no_mangle]
 | |
| extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 {
 | |
|     fail();
 | |
|     0
 | |
| }
 | 
