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