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 3accabd018
commit 9395c8002c
2 changed files with 6 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
macro_rules! force_eval {
($e:expr) => {
unsafe { ::core::ptr::read_volatile(&$e); }
}
}
mod fabs;
mod fabsf;
mod fmodf;