mirror of
https://github.com/rust-lang/rust
synced 2024-11-02 14:59:06 +00:00
Because good hackers at least check to see if the code compiles.
This commit is contained in:
parent
42109f55b0
commit
2131f2bb6b
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ fn dirname(path p) -> path {
|
|||
// FIXME: the '/' character is a path separator on all 3 platforms we
|
||||
// support. This should probably be generalized a bit more in the
|
||||
// future, but for now this should work.
|
||||
i = _str.rindex(p, '/');
|
||||
i = _str.rindex(p, '/' as u8);
|
||||
if (i == -1) {
|
||||
ret p;
|
||||
}
|
||||
|
@ -57,5 +57,5 @@ fn list_dir(path p) -> vec[str] {
|
|||
// indent-tabs-mode: nil
|
||||
// c-basic-offset: 4
|
||||
// buffer-file-coding-system: utf-8-unix
|
||||
// compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
|
||||
// compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
|
||||
// End:
|
||||
|
|
Loading…
Reference in a new issue