Move the force_eval! macro into the math module
This fixes the cross-inclusion into the compiler builtins
This commit is contained in:
parent
3accabd018
commit
9395c8002c
2 changed files with 6 additions and 6 deletions
|
|
@ -12,12 +12,6 @@
|
|||
#![deny(warnings)]
|
||||
#![no_std]
|
||||
|
||||
macro_rules! force_eval {
|
||||
($e:expr) => {
|
||||
unsafe { ::core::ptr::read_volatile(&$e); }
|
||||
}
|
||||
}
|
||||
|
||||
mod math;
|
||||
|
||||
#[cfg(todo)]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
macro_rules! force_eval {
|
||||
($e:expr) => {
|
||||
unsafe { ::core::ptr::read_volatile(&$e); }
|
||||
}
|
||||
}
|
||||
|
||||
mod fabs;
|
||||
mod fabsf;
|
||||
mod fmodf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue