]> git.lizzy.rs Git - rust.git/blobdiff - src/libgreen/lib.rs
Snapshot cleanup
[rust.git] / src / libgreen / lib.rs
index d586d08bd0d759894cdd5937ad10cc47f30346ad..b9fb424cae818e80f23914eb474e3d863571fd5f 100644 (file)
 pub mod stack;
 pub mod task;
 
-#[lang = "start"]
-#[cfg(not(test), stage0)]
-pub fn lang_start(main: *u8, argc: int, argv: **u8) -> int {
-    use std::cast;
-    start(argc, argv, proc() {
-        let main: extern "Rust" fn() = unsafe { cast::transmute(main) };
-        main();
-    })
-}
-
 /// Set up a default runtime configuration, given compiler-supplied arguments.
 ///
 /// This function will block until the entire pool of M:N schedulers have