about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-01-30 13:36:43 +0900
committerGitHub <noreply@github.com>2021-01-30 13:36:43 +0900
commitb94d84d38a3d306a54c5a23caa54d373a2202b9f (patch)
tree0daf7654afdf3201f4a7372934092399a5251146 /library/std/src/sys/unix/stack_overflow.rs
parenta5c12ea75f18232eef4721a1a20210f5f2c25b75 (diff)
parent13ffa43bbb910b5484874f15e7bda824b8fe6782 (diff)
downloadrust-b94d84d38a3d306a54c5a23caa54d373a2202b9f.tar.gz
rust-b94d84d38a3d306a54c5a23caa54d373a2202b9f.zip
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
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions