Fix some of the testcases

simple-lib and deeply and c-dependencies still have problems.
But they were nt caused by this pull request
This commit is contained in:
Niels langager Ellegaard 2014-01-05 12:41:56 +01:00
parent aa50ebd03e
commit 4140b2950b
4 changed files with 4 additions and 4 deletions

View File

@ -58,7 +58,7 @@ pub fn main() {
[~"-c"],
[~"foo.c"],
"foo");
let out_p = Path::new(out_path);
let out_p = Path::new(out_path.unwrap());
out_p.as_str().unwrap().to_owned()
};
out_path

View File

@ -8,4 +8,4 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
fn f() {}
pub fn f() {}

View File

@ -19,5 +19,5 @@ The test runner should check that, after `rustpkg build hello-world`:
*/
fn main() {
println(~"Hello world!");
println("Hello world!");
}

View File

@ -9,7 +9,7 @@
// except according to those terms.
#[bench]
fn g() {
pub fn g() {
let mut x = 0;
while(x < 1000) {
x += 1;