rust/library/std/src
Yuki Okushi b94d84d38a
Rollup merge of #80886 - RalfJung:stable-raw-ref-macros, r=m-ou-se
Stabilize raw ref macros

This stabilizes `raw_ref_macros` (https://github.com/rust-lang/rust/issues/73394), which is possible now that https://github.com/rust-lang/rust/issues/74355 is fixed.

However, as I already said in https://github.com/rust-lang/rust/issues/73394#issuecomment-751342185, I am not particularly happy with the current names of the macros. So I propose we also change them, which means I am proposing to stabilize the following in `core::ptr`:
```rust
pub macro const_addr_of($e:expr) {
    &raw const $e
}

pub macro mut_addr_of($e:expr) {
    &raw mut $e
}
```

The macro name change means we need another round of FCP. Cc `````@rust-lang/libs`````
Fixes #73394
2021-01-30 13:36:43 +09:00
..
backtrace use Once instead of Mutex to manage capture resolution 2021-01-06 10:44:06 +10:00
collections shrink_to shouldn't panic on len greater than capacity 2021-01-26 19:25:37 +01:00
env
error
f32
f64
ffi shrink_to shouldn't panic on len greater than capacity 2021-01-26 19:25:37 +01:00
fs std: Fix test got_symlink_permission on Windows 2020-11-16 21:09:26 +03:00
io Stabilize Seek::stream_position & change feature of Seek::stream_len 2021-01-24 10:14:24 +01:00
lazy
memchr
net Dont prefix 0x when dbg!(ipv6) 2021-01-20 04:31:34 +00:00
num rustc_expand: Mark inner #![test] attributes as soft-unstable 2020-11-20 19:35:03 +03:00
os Take sys/vxworks/{fd,fs,io} from sys/unix instead. 2020-10-16 06:19:00 +02:00
panic
path Refactor parse_prefix on Windows 2020-11-07 16:15:48 +01:00
prelude Rollup merge of #80172 - camelid:prelude-docs-consistent-punct, r=steveklabnik 2021-01-21 20:04:39 +09:00
process
sync Fix documentation typo 2020-12-22 12:19:46 +01:00
sys Auto merge of #81250 - sivadeilra:remove_xp_compat, r=joshtriplett,m-ou-se 2021-01-24 12:34:08 +00:00
sys_common Optimize away some path lookups in the generic fs::copy implementation. 2021-01-06 08:36:31 -08:00
thread Recommend panic::resume_unwind instead of panicking. 2020-12-18 17:03:45 -05:00
time Duration::zero() -> Duration::ZERO 2020-10-21 20:44:03 -07:00
alloc.rs Fix safety comment 2021-01-07 09:13:21 +01:00
ascii.rs
backtrace.rs use Once instead of Mutex to manage capture resolution 2021-01-06 10:44:06 +10:00
env.rs Document security implications of std::env::temp_dir 2021-01-20 11:24:47 -08:00
error.rs Rollup merge of #75180 - KodrAus:feat/error-by-ref, r=m-ou-se 2021-01-24 22:09:45 +01:00
f32.rs Deprecate-in-future the constants superceded by RFC 2700 2021-01-20 20:08:11 -05:00
f64.rs Deprecate-in-future the constants superceded by RFC 2700 2021-01-20 20:08:11 -05:00
fs.rs Drop support for cloudabi targets 2020-11-22 17:11:41 -05:00
keyword_docs.rs Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
lazy.rs Add (internal-only) SyncOnceCell::get_or_init_pin. 2020-12-08 22:57:50 +01:00
lib.rs Rollup merge of #80886 - RalfJung:stable-raw-ref-macros, r=m-ou-se 2021-01-30 13:36:43 +09:00
macros.rs Document why cannot use concat! in dbg! 2021-01-21 10:50:21 +00:00
memchr.rs
num.rs
panic.rs Rollup merge of #79023 - yoshuawuyts:stream, r=KodrAus 2021-01-30 13:36:39 +09:00
panicking.rs fix another comment, and make __rust_start_panic code a bit more semantically clear 2020-12-25 23:37:27 +01:00
path.rs Inline methods of Path and OsString 2021-01-22 18:46:00 +01:00
primitive_docs.rs Auto merge of #80590 - camelid:bool-never-docs, r=nagisa 2021-01-03 12:21:12 +00:00
process.rs Auto merge of #78439 - lzutao:rm-clouldabi, r=Mark-Simulacrum 2020-11-23 19:01:19 +00:00
rt.rs
time.rs Drop support for cloudabi targets 2020-11-22 17:11:41 -05:00