Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 10 pull requests #134239

Closed
Closed
Changes from 2 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
2ce89ee
Add a test for mangling of named constants in const generics and arra…
oli-obk Dec 9, 2024
9ecdc54
Try to evaluate constants in legacy mangling
oli-obk Dec 9, 2024
de53fe2
coverage: Tidy up creation of covmap records
Zalathar Dec 12, 2024
5f5745b
coverage: Tidy up creation of covfun records
Zalathar Dec 12, 2024
37bb774
Reduce the need to set archiver via environment variables
flba-eb Dec 12, 2024
724052f
validate `--skip` and `--exclude` paths
onur-ozkan Dec 12, 2024
3a90c47
Fix powerpc64 big-endian FreeBSD ABI
taiki-e Oct 25, 2024
3d2e36c
upstream rustc_codegen_llvm changes for enzyme/autodiff
ZuseZ4 Dec 12, 2024
7fb2fc0
feat: clarify how to use `black_box()`
BD103 Dec 5, 2024
6b93fac
Update wasi-sdk used to build WASI targets
alexcrichton Dec 12, 2024
6ce7ba4
Fix typos in docs on provenance
purplesyringa Dec 12, 2024
2e412fe
Remove `Lexer`'s dependency on `Parser`.
nnethercote Dec 12, 2024
24a0c9f
Rollup merge of #130060 - EnzymeAD:enzyme-cg-llvm, r=davidtwco
compiler-errors Dec 13, 2024
855c00c
Rollup merge of #132150 - taiki-e:ppc64-freebsd-abi, r=pnkfelix
compiler-errors Dec 13, 2024
c25cfc7
Rollup merge of #133942 - BD103:black-box-docs, r=saethlin
compiler-errors Dec 13, 2024
de12f36
Rollup merge of #134081 - oli-obk:push-prpsqxxynxnq, r=BoxyUwU
compiler-errors Dec 13, 2024
7ae6a0f
Rollup merge of #134192 - nnethercote:rm-Lexer-Parser-dep, r=compiler…
compiler-errors Dec 13, 2024
a7c5c65
Rollup merge of #134208 - Zalathar:covmap-covfun, r=compiler-errors
compiler-errors Dec 13, 2024
e80c4f8
Rollup merge of #134209 - onur-ozkan:check-skip-paths, r=jieyouxu
compiler-errors Dec 13, 2024
6365db6
Rollup merge of #134211 - flba-eb:add_qnx_archiver, r=compiler-errors
compiler-errors Dec 13, 2024
8010ee6
Rollup merge of #134227 - alexcrichton:update-wasi-sdk, r=lqd
compiler-errors Dec 13, 2024
8a50b23
Rollup merge of #134229 - purplesyringa:provenance-docs, r=saethlin
compiler-errors Dec 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions library/core/src/ptr/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
//!
//! But it *is* still sound to:
//!
//! * Create a pointer without provenance from just an address (see [`ptr::dangling`]). Such a
//! * Create a pointer without provenance from just an address (see [`without_provenance`]). Such a
//! pointer cannot be used for memory accesses (except for zero-sized accesses). This can still be
//! useful for sentinel values like `null` *or* to represent a tagged pointer that will never be
//! dereferenceable. In general, it is always sound for an integer to pretend to be a pointer "for
Expand Down Expand Up @@ -314,8 +314,8 @@
//! }
//! ```
//!
//! (Yes, if you've been using AtomicUsize for pointers in concurrent datastructures, you should
//! be using AtomicPtr instead. If that messes up the way you atomically manipulate pointers,
//! (Yes, if you've been using [`AtomicUsize`] for pointers in concurrent datastructures, you should
//! be using [`AtomicPtr`] instead. If that messes up the way you atomically manipulate pointers,
//! we would like to know why, and what needs to be done to fix it.)
//!
//! Situations where a valid pointer *must* be created from just an address, such as baremetal code
Expand Down Expand Up @@ -381,7 +381,8 @@
//! [`with_addr`]: pointer::with_addr
//! [`map_addr`]: pointer::map_addr
//! [`addr`]: pointer::addr
//! [`ptr::dangling`]: core::ptr::dangling
//! [`AtomicUsize`]: crate::sync::atomic::AtomicUsize
//! [`AtomicPtr`]: crate::sync::atomic::AtomicPtr
//! [`expose_provenance`]: pointer::expose_provenance
//! [`with_exposed_provenance`]: with_exposed_provenance
//! [Miri]: https://github.com/rust-lang/miri
Expand Down
Loading