diff options
| author | Brian Anderson <banderson@mozilla.com> | 2016-09-29 22:00:44 +0000 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2016-10-02 14:52:30 -0700 |
| commit | 4d76ac84922bec9ea790c1394f6959ad399d7aa1 (patch) | |
| tree | 17f2debbe4a921dcfc47cfd13e7f1dc56886d77b /src/libstd/sys/common/mod.rs | |
| parent | 29e0235415a42299e4a7467c5edb09a159ec680e (diff) | |
Move platform-specific arg handling to sys::args
Diffstat (limited to 'src/libstd/sys/common/mod.rs')
| -rw-r--r-- | src/libstd/sys/common/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/sys/common/mod.rs b/src/libstd/sys/common/mod.rs index 9a46c617b97..2845f895f18 100644 --- a/src/libstd/sys/common/mod.rs +++ b/src/libstd/sys/common/mod.rs @@ -25,7 +25,6 @@ macro_rules! rtassert { }) } -pub mod args; pub mod at_exit_imp; #[cfg(any(not(cargobuild), feature = "backtrace"))] pub mod backtrace; @@ -92,7 +91,7 @@ pub fn at_exit<F: FnOnce() + Send + 'static>(f: F) -> Result<(), ()> { pub fn cleanup() { static CLEANUP: Once = Once::new(); CLEANUP.call_once(|| unsafe { - args::cleanup(); + sys::args::cleanup(); sys::stack_overflow::cleanup(); at_exit_imp::cleanup(); }); |
