diff options
Diffstat (limited to 'src/driver/driver.rs')
| -rw-r--r-- | src/driver/driver.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/driver/driver.rs b/src/driver/driver.rs index ca462fc7a39..0ceb12064b0 100644 --- a/src/driver/driver.rs +++ b/src/driver/driver.rs @@ -8,10 +8,15 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#[no_uv]; + #[cfg(rustdoc)] extern crate this = "rustdoc"; #[cfg(rustc)] extern crate this = "rustc"; -fn main() { this::main() } +extern crate native; + +#[start] +fn start(argc: int, argv: **u8) -> int { native::start(argc, argv, this::main) } |
