diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-02-26 13:03:40 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-27 12:03:58 -0800 |
| commit | 40ab198356bbec05b308b2e61ebc6fe9e23ade9d (patch) | |
| tree | a177fc5faeb60e7d2ca0ab5bc9b45f9f619087b8 /src/libstd/io | |
| parent | cd9010c77e764e9348ecd92dc4a285f6514505dc (diff) | |
| download | rust-40ab198356bbec05b308b2e61ebc6fe9e23ade9d.tar.gz rust-40ab198356bbec05b308b2e61ebc6fe9e23ade9d.zip | |
rustc: Use libnative for the compiler
The compiler itself doesn't necessarily need any features of green threading such as spawning tasks and lots of I/O, so libnative is slightly more appropriate for rustc to use itself. This should also help the rusti bot which is currently incompatible with libuv.
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/fs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/fs.rs b/src/libstd/io/fs.rs index d72abb272c2..5f070ef782b 100644 --- a/src/libstd/io/fs.rs +++ b/src/libstd/io/fs.rs @@ -1217,6 +1217,6 @@ mod test { check!(File::create(&tmpdir.join("test")).write(bytes)); let actual = check!(File::open(&tmpdir.join("test")).read_to_end()); - assert!(actual.as_slice == bytes); + assert!(actual.as_slice() == bytes); }) } |
