From 40ab198356bbec05b308b2e61ebc6fe9e23ade9d Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 26 Feb 2014 13:03:40 -0800 Subject: 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. --- src/libstd/io/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/io') 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); }) } -- cgit 1.4.1-3-g733a5