1
0
Fork 0

Rust updates

This commit is contained in:
edef 2015-02-02 14:17:23 -05:00
parent 4d815b8ec9
commit a54e573073
5 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
#![feature(asm)]
#![feature(asm, test)]
extern crate test;
use test::Bencher;

View File

@ -1,3 +1,4 @@
#![feature(test)]
extern crate test;
extern crate lwkt;
use lwkt::Context;

View File

@ -1,7 +1,7 @@
#![allow(unstable)]
use std::io::Command;
use std::io::fs::PathExtensions;
use std::io::fs;
#![feature(io, path, os)]
use std::old_io::Command;
use std::old_io::fs::PathExtensions;
use std::old_io::fs;
use std::os;
fn main() {
@ -30,7 +30,7 @@ fn main() {
}
Command::new("ar").args(&["crus", "libcontext.a"])
.args(objects.as_slice())
.args(&*objects)
.cwd(&Path::new(&out_dir))
.status().unwrap();

View File

@ -1,8 +1,8 @@
#![feature(asm)]
#![feature(asm, core)]
#![feature(os, libc)]
#![no_std]
#[macro_use]
#[allow(unstable)]
extern crate core;
#[cfg(test)]

View File

@ -1,4 +1,3 @@
#![allow(unstable)]
extern crate libc;
extern crate std;
use self::std::prelude::v1::*;