Skip to content

Commit 0e3dd5a

Browse files
committed
Export os, libc and path from libcore.
1 parent dea19b2 commit 0e3dd5a

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/libcore/core.rc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export uint, u8, u16, u32, u64;
3333
export float, f32, f64;
3434
export box, char, str, ptr, vec, bool;
3535
export either, option, result, iter;
36-
export ctypes, sys, unsafe, logging;
36+
export libc, os, ctypes, sys, unsafe, logging;
3737
export comm, task, future;
3838
export extfmt;
3939
export math, bessel;
@@ -82,10 +82,7 @@ mod to_str;
8282
// Runtime and language-primitive support
8383

8484
mod libc;
85-
86-
// Rename when transition done.
87-
#[path = "os.rs"]
88-
mod new_os;
85+
mod os;
8986
mod path;
9087

9188
mod ctypes;

src/libcore/os.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,6 @@ mod consts {
542542
#[cfg(test)]
543543
mod tests {
544544

545-
import os = new_os;
546-
547545
#[test]
548546
fn test() {
549547
assert (!path::path_is_absolute("test-path"));

0 commit comments

Comments
 (0)