index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
library
/
core
/
src
/
alloc
/
layout.rs
Age
Commit message (
Expand
)
Author
Lines
2025-08-12
Address dangling doc
Sacha Ayoun
-4
/
+4
2025-07-04
clippy fix: indentation
Marijn Schouten
-2
/
+2
2025-05-21
Add some track_caller info to precondition panics
Ben Kimock
-0
/
+1
2025-03-26
Pass `Alignment` for `RawVecInner::new_in`
James Wainwright
-0
/
+8
2025-03-06
library: Use size_of from the prelude instead of imported
Thalia Archibald
-2
/
+2
2025-01-10
Use `NonNull::without_provenance` within the standard library
Samuel Tardieu
-2
/
+1
2025-01-08
update version placeholders
Pietro Albini
-5
/
+5
2024-12-25
stabilize const_alloc_layout
Ralf Jung
-10
/
+5
2024-12-02
stabilize const_{size,align}_of_val
Ralf Jung
-1
/
+1
2024-11-27
update cfgs
Boxy
-5
/
+4
2024-11-01
make const_alloc_layout feature gate only about functions that are already st...
Ralf Jung
-6
/
+5
2024-10-25
Re-do recursive const stability checks
Ralf Jung
-3
/
+1
2024-10-10
Fixing rustDoc for LayoutError.
Johnathan W
-1
/
+2
2024-09-17
Take more advantage of the `isize::MAX` limit in `Layout`
Scott McMurray
-56
/
+105
2024-08-20
Try to golf down the amount of code in Layout
Ben Kimock
-8
/
+3
2024-08-19
Add a precondition check for Layout::from_size_align_unchecked
Ben Kimock
-5
/
+27
2024-07-29
Reformat `use` declarations.
Nicholas Nethercote
-3
/
+1
2024-07-26
Fix doc nits
John Arundel
-2
/
+2
2024-07-10
size_of_val_raw: for length 0 this is safe to call
Ralf Jung
-0
/
+2
2024-03-25
alloc::Layout: explicitly document size invariant on the type level
Ralf Jung
-1
/
+3
2024-02-21
rename ptr::invalid -> ptr::without_provenance
Ralf Jung
-1
/
+1
2023-11-23
Indicate that multiplication in Layout::array cannot overflow
Mark Rousskov
-1
/
+5
2023-10-12
Update library/core/src/alloc/layout.rs
Joshua Liebow-Feeser
-1
/
+1
2023-09-07
Guarantee that Layout::align returns a non-zero power of two
Joshua Liebow-Feeser
-0
/
+2
2023-04-16
core is now compilable
Deadbeef
-10
/
+5
2022-11-20
Use ? instead of match
Rune Tynan
-4
/
+2
2022-11-20
Update with derive_const
Rune Tynan
-1
/
+4
2022-11-20
constify remaining layout methods
Rune Tynan
-10
/
+23
2022-11-11
Remove the old `ValidAlign` name
Scott McMurray
-14
/
+14
2022-10-10
Rollup merge of #102072 - scottmcm:ptr-alignment-type, r=thomcc
Yuki Okushi
-0
/
+3
2022-09-26
remove cfg(bootstrap)
Pietro Albini
-2
/
+0
2022-09-21
Add `rustc_allow_const_fn_unstable` annotations to pre-existing `Layout` methods
Scott McMurray
-0
/
+3
2022-08-22
Move error trait into core
Jane Losare-Lusby
-0
/
+6
2022-07-13
Re-optimize `Layout::array`
Scott McMurray
-9
/
+34
2022-07-11
Remove duplication of layout size check
Christopher Durham
-16
/
+11
2022-07-10
Take advantage of known-valid-align in layout.rs
Christopher Durham
-14
/
+27
2022-07-10
Auto merge of #95295 - CAD97:layout-isize, r=scottmcm
bors
-20
/
+14
2022-06-30
nit
Christopher Durham
-1
/
+1
2022-06-29
Revert isize::MAX changes to Layout helpers
Christopher Durham
-37
/
+16
2022-05-14
Implement `Hash` for `core::alloc::Layout`
Deadbeef
-1
/
+1
2022-04-14
Remove use of `#[rustc_deprecated]`
Jacob Pratt
-2
/
+2
2022-04-11
fix Layout struct member naming style
liangyongrui
-5
/
+5
2022-04-09
Rollup merge of #95361 - scottmcm:valid-align, r=Mark-Simulacrum
Dylan DPC
-6
/
+5
2022-04-08
Make non-power-of-two alignments a validity error in `Layout`
Scott McMurray
-6
/
+5
2022-03-31
Adjust feature names that disagree on const stabilization version
David Tolnay
-4
/
+4
2022-03-29
Make the stdlib largely conform to strict provenance.
Aria Beingessner
-1
/
+1
2022-03-24
Enforce that layout size fits in isize in Layout
CAD97
-19
/
+34
2021-12-14
Fix a bunch of typos
Frank Steffahn
-2
/
+2
2021-11-26
Optimize `Layout::array`.
Nicholas Nethercote
-3
/
+11
2021-11-26
Use unchecked construction in `Layout::pad_to_align`.
Nicholas Nethercote
-1
/
+3
[next]