File tree Expand file tree Collapse file tree 4 files changed +18
-19
lines changed Expand file tree Collapse file tree 4 files changed +18
-19
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ Compiler intrinsics used by the Rust compiler. Also available for other targets
1313if necessary!
1414"""
1515include = [
16- # '/Cargo.toml',
17- # '/build.rs',
18- # '/configure.rs',
19- # '/src/*',
20- # '/examples/*',
21- # ' /LICENSE.txt',
22- # ' /README.md',
23- # ' /compiler-rt/*',
16+ ' /Cargo.toml' ,
17+ ' /build.rs' ,
18+ ' /configure.rs' ,
19+ ' /src/*' ,
20+ # '/examples/*',
21+ ' .. /LICENSE.txt' ,
22+ ' .. /README.md' ,
23+ ' .. /compiler-rt/*' ,
2424 ' ../libm/src/math/*' ,
2525]
2626links = ' compiler-rt'
Original file line number Diff line number Diff line change @@ -39,14 +39,19 @@ extern crate core;
3939#[ macro_use]
4040mod macros;
4141
42+ #[ rustfmt:: skip]
43+ #[ allow( dead_code) ]
44+ #[ allow( unused_imports) ]
45+ #[ allow( clippy:: all) ]
46+ mod libm;
47+
4248pub mod float;
4349pub mod int;
4450pub mod math;
4551pub mod mem;
4652
47- // `libm` expects its `support` module to be available in the crate root. This config can be
48- // cleaned up once `libm` is made always available.
49- use math:: libm:: support;
53+ // `libm` expects its `support` module to be available in the crate root.
54+ use libm:: support;
5055
5156#[ cfg( target_arch = "arm" ) ]
5257pub mod arm;
Original file line number Diff line number Diff line change 1+ ../../libm/src/math
Original file line number Diff line number Diff line change 1- #[ rustfmt:: skip]
2- #[ allow( dead_code) ]
3- #[ allow( unused_imports) ]
4- #[ allow( clippy:: all) ]
5- #[ path = "../../libm/src/math/mod.rs" ]
6- pub ( crate ) mod libm;
7-
81macro_rules! libm_intrinsics {
92 ( $( fn $fun: ident( $( $iid: ident : $ity: ty) ,+) -> $oty: ty; ) +) => {
103 intrinsics! {
114 $(
125 pub extern "C" fn $fun( $( $iid: $ity) ,+) -> $oty {
13- $crate:: math :: libm:: $fun( $( $iid) ,+)
6+ $crate:: libm:: $fun( $( $iid) ,+)
147 }
158 ) +
169 }
You can’t perform that action at this time.
0 commit comments