forked from M-Labs/libfringe
Rust updates
This commit is contained in:
parent
4d815b8ec9
commit
a54e573073
@ -1,4 +1,4 @@
|
||||
#![feature(asm)]
|
||||
#![feature(asm, test)]
|
||||
extern crate test;
|
||||
use test::Bencher;
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
#![feature(test)]
|
||||
extern crate test;
|
||||
extern crate lwkt;
|
||||
use lwkt::Context;
|
||||
|
10
build.rs
10
build.rs
@ -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();
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
#![feature(asm)]
|
||||
#![feature(asm, core)]
|
||||
#![feature(os, libc)]
|
||||
#![no_std]
|
||||
|
||||
#[macro_use]
|
||||
#[allow(unstable)]
|
||||
extern crate core;
|
||||
|
||||
#[cfg(test)]
|
||||
|
@ -1,4 +1,3 @@
|
||||
#![allow(unstable)]
|
||||
extern crate libc;
|
||||
extern crate std;
|
||||
use self::std::prelude::v1::*;
|
||||
|
Loading…
Reference in New Issue
Block a user