Test fixes from the rollup
This commit is contained in:
parent
57e0908af3
commit
487fa9568b
3 changed files with 23 additions and 13 deletions
|
|
@ -8,6 +8,11 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#![no_start]
|
||||
|
||||
extern crate green;
|
||||
extern crate rustuv;
|
||||
|
||||
use std::task::spawn;
|
||||
use std::os;
|
||||
use std::uint;
|
||||
|
|
@ -15,6 +20,11 @@ use std::uint;
|
|||
// Very simple spawn rate test. Spawn N tasks that do nothing and
|
||||
// return.
|
||||
|
||||
#[start]
|
||||
fn start(argc: int, argv: **u8) -> int {
|
||||
green::start(argc, argv, rustuv::event_loop, main)
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
||||
let args = os::args();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue