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:
parent
aa50ebd03e
commit
4140b2950b
@ -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
|
||||
|
@ -8,4 +8,4 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
fn f() {}
|
||||
pub fn f() {}
|
||||
|
@ -19,5 +19,5 @@ The test runner should check that, after `rustpkg build hello-world`:
|
||||
*/
|
||||
|
||||
fn main() {
|
||||
println(~"Hello world!");
|
||||
println("Hello world!");
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
#[bench]
|
||||
fn g() {
|
||||
pub fn g() {
|
||||
let mut x = 0;
|
||||
while(x < 1000) {
|
||||
x += 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user