Ralf Jung
df4e4ef2b9
Rollup merge of #76823 - RalfJung:black-box-warn, r=joshtriplett
...
black_box: silence unused_mut warning when building with cfg(miri)
2020-09-20 12:08:24 +02:00
Ralf Jung
1720fd94e8
Rollup merge of #76434 - RalfJung:black-box, r=Mark-Simulacrum
...
do not inline black_box when building for Miri
We cannot do the assembly trick in Miri, but let's at least make sure MIR inlining does not circumvent the black_box.
Also use black_box instead of local optimization barriers in a few const tests.
2020-09-19 11:47:43 +02:00
Ralf Jung
1dd3df6738
black_box: silence unused_mut warning when building with cfg(miri)
2020-09-17 14:39:31 +02:00
Lzu Tao
4dc4e9f671
Fix black_box bug detected by Amanieu
...
Co-authored-by: Amanieu <amanieu@gmail.com>
2020-09-16 09:25:54 +00:00
Lzu Tao
87666e5bce
Prefer asm! over llvm_asm! in core
2020-09-16 04:47:46 +00:00
Ralf Jung
caeb5544ec
do not inline black_box when building for Miri
2020-09-07 11:31:37 +02:00
aticu
39f5ebcd74
Fix typo in std::hint::black_box
docs
2020-08-27 01:16:18 +02:00
Denis Vasilik
4c5896fbeb
Remove intra-doc link as it resolves without reference link
...
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-08-12 08:28:55 +02:00
Denis Vasilik
c4923419c2
Revert broken link
2020-08-11 23:54:51 +02:00
Denis Vasilik
3c2eb18b9b
Use intra-doc links
2020-08-11 22:16:31 +02:00
Ralf Jung
8385146ffa
make black_box a NOP in Miri
2020-08-08 10:50:30 +02:00
mark
2c31b45ae8
mv std libs to library/
2020-07-27 19:51:13 -05:00