Make run-pass/native-fn-linkname's main take no args
check-fast doesn't like it.
This commit is contained in:
parent
eae478cd74
commit
47d875e002
@ -13,7 +13,7 @@ fn strlen(str: str) -> uint unsafe {
|
||||
ret libc::my_strlen(vec::unsafe::to_ptr(bytes));
|
||||
}
|
||||
|
||||
fn main(_args: [str]) {
|
||||
fn main() {
|
||||
let len = strlen("Rust");
|
||||
assert(len == 4u);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user