Rust updates
This commit is contained in:
parent
4d815b8ec9
commit
a54e573073
|
@ -1,4 +1,4 @@
|
||||||
#![feature(asm)]
|
#![feature(asm, test)]
|
||||||
extern crate test;
|
extern crate test;
|
||||||
use test::Bencher;
|
use test::Bencher;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#![feature(test)]
|
||||||
extern crate test;
|
extern crate test;
|
||||||
extern crate lwkt;
|
extern crate lwkt;
|
||||||
use lwkt::Context;
|
use lwkt::Context;
|
||||||
|
|
10
build.rs
10
build.rs
|
@ -1,7 +1,7 @@
|
||||||
#![allow(unstable)]
|
#![feature(io, path, os)]
|
||||||
use std::io::Command;
|
use std::old_io::Command;
|
||||||
use std::io::fs::PathExtensions;
|
use std::old_io::fs::PathExtensions;
|
||||||
use std::io::fs;
|
use std::old_io::fs;
|
||||||
use std::os;
|
use std::os;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
@ -30,7 +30,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
Command::new("ar").args(&["crus", "libcontext.a"])
|
Command::new("ar").args(&["crus", "libcontext.a"])
|
||||||
.args(objects.as_slice())
|
.args(&*objects)
|
||||||
.cwd(&Path::new(&out_dir))
|
.cwd(&Path::new(&out_dir))
|
||||||
.status().unwrap();
|
.status().unwrap();
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#![feature(asm)]
|
#![feature(asm, core)]
|
||||||
|
#![feature(os, libc)]
|
||||||
#![no_std]
|
#![no_std]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
#[allow(unstable)]
|
|
||||||
extern crate core;
|
extern crate core;
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#![allow(unstable)]
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate std;
|
extern crate std;
|
||||||
use self::std::prelude::v1::*;
|
use self::std::prelude::v1::*;
|
||||||
|
|
Loading…
Reference in New Issue