blob: 64fd5ec4f0ed86564e8f1f74ccba84a432f9a111 (
plain)
1
2
3
4
5
6
|
#![feature(start)]
#![feature(unix_sigpipe)]
#[start]
#[unix_sigpipe = "inherit"] //~ error: `unix_sigpipe` attribute can only be used on `fn main()`
fn custom_start(argc: isize, argv: *const *const u8) -> isize { 0 }
|