From 348930eb4e75ee9ce42e783fe9942c8eb5165bc1 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 1 Nov 2017 12:59:40 -0700 Subject: std: Move the `cmath` module into the `sys` module This commit moves the `f32::cmath` and `f64::cmath` modules into the `sys` module. Note that these are not publicly exported modules, simply implementation details. These modules are already platform-specific with shims on MSVC and this is mostly just a reflection of that reality. This should also help cut down on `#[cfg]` traffic if platforms are brought on which don't directly support these functions. --- src/libstd/sys/windows/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstd/sys/windows/mod.rs') diff --git a/src/libstd/sys/windows/mod.rs b/src/libstd/sys/windows/mod.rs index ab8e155331e..180b55a66e3 100644 --- a/src/libstd/sys/windows/mod.rs +++ b/src/libstd/sys/windows/mod.rs @@ -25,6 +25,7 @@ pub mod args; #[cfg(feature = "backtrace")] pub mod backtrace; pub mod c; +pub mod cmath; pub mod condvar; #[cfg(feature = "backtrace")] pub mod dynamic_lib; -- cgit 1.4.1-3-g733a5