]> git.lizzy.rs Git - rust.git/commit
std: Move the `cmath` module into the `sys` module
authorAlex Crichton <alex@alexcrichton.com>
Wed, 1 Nov 2017 19:59:40 +0000 (12:59 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 9 Nov 2017 04:42:23 +0000 (20:42 -0800)
commit348930eb4e75ee9ce42e783fe9942c8eb5165bc1
treeed4168f92e2d32127b390d06b199abc219ad3a01
parent1ccb50eaa670f86b69e7a64484a8c97e13169183
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/f32.rs
src/libstd/f64.rs
src/libstd/sys/redox/cmath.rs [new file with mode: 0644]
src/libstd/sys/redox/mod.rs
src/libstd/sys/unix/cmath.rs [new file with mode: 0644]
src/libstd/sys/unix/mod.rs
src/libstd/sys/windows/cmath.rs [new file with mode: 0644]
src/libstd/sys/windows/mod.rs