Export os, libc and path from libcore.
This commit is contained in:
parent
dea19b25c9
commit
0e3dd5a3ee
2 changed files with 2 additions and 7 deletions
|
@ -33,7 +33,7 @@ export uint, u8, u16, u32, u64;
|
|||
export float, f32, f64;
|
||||
export box, char, str, ptr, vec, bool;
|
||||
export either, option, result, iter;
|
||||
export ctypes, sys, unsafe, logging;
|
||||
export libc, os, ctypes, sys, unsafe, logging;
|
||||
export comm, task, future;
|
||||
export extfmt;
|
||||
export math, bessel;
|
||||
|
@ -82,10 +82,7 @@ mod to_str;
|
|||
// Runtime and language-primitive support
|
||||
|
||||
mod libc;
|
||||
|
||||
// Rename when transition done.
|
||||
#[path = "os.rs"]
|
||||
mod new_os;
|
||||
mod os;
|
||||
mod path;
|
||||
|
||||
mod ctypes;
|
||||
|
|
|
@ -542,8 +542,6 @@ mod consts {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
||||
import os = new_os;
|
||||
|
||||
#[test]
|
||||
fn test() {
|
||||
assert (!path::path_is_absolute("test-path"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue