rust/library
Maybe Waffle 10270f4b44 Add pointer masking convenience functions
This commit adds the following functions all of which have a signature
`pointer, usize -> pointer`:
- `<*mut T>::mask`
- `<*const T>::mask`
- `intrinsics::ptr_mask`

These functions are equivalent to `.map_addr(|a| a & mask)` but they
utilize `llvm.ptrmask` llvm intrinsic.

*masks your pointers*
2022-08-21 05:27:14 +04:00
..
alloc Rollup merge of #99544 - dylni:expose-utf8lossy, r=Mark-Simulacrum 2022-08-20 19:32:07 +02:00
backtrace@4e5a3f7292
core Add pointer masking convenience functions 2022-08-21 05:27:14 +04:00
panic_abort
panic_unwind
portable-simd
proc_macro
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Rollup merge of #100710 - ChrisDenton:load-library, r=thomcc 2022-08-20 19:32:13 +02:00
stdarch@28335054b1
test test: skip terminfo parsing in Miri 2022-08-07 11:56:12 -04:00
unwind unwind: don't build dependency when building for Miri 2022-08-15 12:54:12 -04:00