Mark Rousskov
b3a4f91b8d
Bump cfgs
2021-04-04 14:57:05 -04:00
Simon Sapin
5ade3fe32c
Add a ThinBox library as a libcore test for pointer metadata APIs
2021-02-15 14:27:51 +01:00
Simon Sapin
642486c2b2
Fix libcore unit tests in stage 0
2021-02-15 14:27:48 +01:00
Simon Sapin
937d580a25
Add ptr::from_raw_parts
, ptr::from_raw_parts_mut
, and NonNull::from_raw_parts
...
The use of module-level functions instead of associated functions
on `<*const T>` or `<*mut T>` follows the precedent of
`ptr::slice_from_raw_parts` and `ptr::slice_from_raw_parts_mut`.
2021-02-15 14:27:31 +01:00
Simon Sapin
9ab83b9338
Add size_of
, align_of
, and layout
methods to DynMetadata
2021-02-15 14:27:17 +01:00
Simon Sapin
b1e15fa8a2
Parameterize DynMetadata
over its dyn SomeTrait
type
2021-02-15 14:27:16 +01:00
Simon Sapin
696b239f72
Add ptr::Pointee
trait (for all types) and ptr::metadata
function
...
RFC: https://github.com/rust-lang/rfcs/pull/2580
2021-02-15 14:27:12 +01:00
Christiaan Dirkx
be554c4101
Make ui test that are run-pass and do not test the compiler itself library tests
2020-11-30 02:47:32 +01:00
Aaron Hill
6f91c32da6
Fix new 'unnecessary trailing semicolon' warnings
2020-11-26 17:08:36 -05:00
Ralf Jung
6a06bfc252
enable align_to tests in Miri
2020-08-19 10:41:51 +02:00
mark
2c31b45ae8
mv std libs to library/
2020-07-27 19:51:13 -05:00