Commit 37be71b
committed
Add back the
Rustc commit 055e05a / builtins commit 2fb3a1871bc9 ("Mark float
intrinsics with no preconditions as safe") changed `fma` and other
intrinsics to not be unsafe to call. Unfortunately we can't remove the
`unsafe` just yet since the rustc we pin for benchmarks is older than
this.
Add back `unsafe` but allow it to be unused.unsafe for intrinsics::fma but allow(unused_unsafe)
1 parent 374d677 commit 37be71b
File tree
1 file changed
+4
-1
lines changed- library/compiler-builtins/libm/src/math/support
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
293 | 296 | | |
294 | 297 | | |
295 | 298 | | |
| |||
0 commit comments