-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util/libm: replace
force_eval!
by core::hint::black_box
During an internal review of unsafe code at work, @cramertj noticed that the the `force_eval!` can be replaced by `core::hint::black_box`, removing the need for unsafe Rust.
- Loading branch information
1 parent
b4c9bce
commit 9c94201
Showing
1 changed file
with
8 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters