granite-rust/library/core
Matthias Krüger 3245e61298
Rollup merge of #95516 - RalfJung:ptrs-not-ints, r=dtolnay
ptr_metadata test: avoid ptr-to-int transmutes

Pointers can have provenance, integers don't, so transmuting pointers to integers creates "non-standard" values and it is unclear how well those can be supported (https://github.com/rust-lang/unsafe-code-guidelines/issues/286).

So for this test let's take the safer option and use a pointer type instead. That also makes Miri happy. :)
2022-04-01 12:07:02 +02:00
..
benches Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Rollup merge of #95520 - rust-lang:ptrtypo, r=lcnr 2022-03-31 17:29:55 +02:00
tests ptr_metadata test: avoid ptr-to-int transmutes 2022-03-31 09:32:30 -04:00
Cargo.toml Build libcore as 2021 in a few more places 2022-02-06 15:41:01 -08:00