Move the force_eval! macro into the math module

This fixes the cross-inclusion into the compiler builtins
This commit is contained in:
Michael Howell
2018-07-13 01:38:04 +00:00
parent ac9e81b9c5
commit dd2bbcb890
2 changed files with 6 additions and 6 deletions
-6
View File
@@ -12,12 +12,6 @@
#![deny(warnings)]
#![no_std]
macro_rules! force_eval {
($e:expr) => {
unsafe { ::core::ptr::read_volatile(&$e); }
}
}
mod math;
#[cfg(todo)]
+6
View File
@@ -1,3 +1,9 @@
macro_rules! force_eval {
($e:expr) => {
unsafe { ::core::ptr::read_volatile(&$e); }
}
}
mod fabs;
mod fabsf;
mod fmodf;