rust/library/std/src/sys
Jacob Pratt e9ef8e1efa
Rollup merge of #122935 - RalfJung:with-exposed-provenance, r=Amanieu
rename ptr::from_exposed_addr -> ptr::with_exposed_provenance

As discussed on [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/136281-t-opsem/topic/To.20expose.20or.20not.20to.20expose/near/427757066).

The old name, `from_exposed_addr`, makes little sense as it's not the address that is exposed, it's the provenance. (`ptr.expose_addr()` stays unchanged as we haven't found a better option yet. The intended interpretation is "expose the provenance and return the address".)

The new name nicely matches `ptr::without_provenance`.
2024-04-02 20:37:39 -04:00
..
os_str Move OsStr::slice_encoded_bytes validation to platform modules 2024-01-21 19:51:49 +01:00
pal Rollup merge of #122935 - RalfJung:with-exposed-provenance, r=Amanieu 2024-04-02 20:37:39 -04:00
path std: move path into sys 2024-02-08 12:51:35 +01:00
personality rename ptr::from_exposed_addr -> ptr::with_exposed_provenance 2024-03-23 13:18:33 +01:00
sync std: move thread::current TLS variable out of thread_info 2024-03-31 11:28:24 +02:00
thread_local step cfgs 2024-03-20 08:49:13 -04:00
cmath.rs Make cmath.rs a single file 2024-02-07 12:02:24 -03:00
mod.rs std: move Once implementations to sys 2024-03-12 15:41:06 +01:00