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
/
ptr
/
alignment.rs
Age
Commit message (
Expand
)
Author
Lines
2025-09-01
Constify conversion traits
ltdk
-4
/
+6
2025-07-30
`AlignmentEnum` should just be `repr(usize)` now
Scott McMurray
-3
/
+5
2025-07-21
Constify Try, From, TryFrom
Evgenii Zheltonozhskii
-2
/
+4
2025-07-13
update issue number for `const_trait_impl`
Deadbeef
-1
/
+1
2025-07-07
Make `Default` const and add some `const Default` impls
Esteban Küber
-1
/
+2
2025-05-21
Add some track_caller info to precondition panics
Ben Kimock
-0
/
+1
2025-03-06
library: Use size_of from the prelude instead of imported
Thalia Archibald
-4
/
+4
2025-01-15
Less unsafe in `dangling`/`without_provenance`
Scott McMurray
-3
/
+9
2024-11-27
update cfgs
Boxy
-7
/
+0
2024-10-25
Re-do recursive const stability checks
Ralf Jung
-7
/
+7
2024-09-26
add missing FIXME(const-hack)
Ralf Jung
-1
/
+1
2024-09-18
Auto merge of #129845 - scottmcm:redo-layout, r=Noratrieb
bors
-0
/
+5
2024-09-17
Take more advantage of the `isize::MAX` limit in `Layout`
Scott McMurray
-0
/
+5
2024-09-08
remove pointless rustc_const_unstable on trait impls
Ralf Jung
-2
/
+0
2024-08-23
Enable Alignment::new_unchecked precondition check
Ben Kimock
-2
/
+0
2024-03-25
Import the 2021 prelude in the core crate
Daniel Paoliello
-1
/
+0
2024-03-23
move assert_unsafe_preconditions to its own file
Ralf Jung
-2
/
+2
2024-03-08
Distinguish between library and lang UB in assert_unsafe_precondition
Ben Kimock
-3
/
+6
2024-03-07
Rust is a proper name: rust → Rust
Ralf Jung
-1
/
+1
2024-02-29
Add proper cfg
r0cky
-9
/
+5
2024-02-22
Use generic `NonZero` everywhere in `core`.
Markus Reiter
-8
/
+8
2024-02-19
Convert debug_assert_nounwind to intrinsics::debug_assertions
Ben Kimock
-0
/
+1
2024-02-15
Replace `NonZero::<_>::new` with `NonZero::new`.
Markus Reiter
-1
/
+1
2024-02-15
Use generic `NonZero` internally.
Markus Reiter
-2
/
+2
2023-11-25
Convert many `assert_unsafe_precondition` to `debug_assert_nounwind`
Gary Guo
-8
/
+4
2023-11-18
impl more traits for ptr::Alignment, add mask method
ltdk
-1
/
+44
2023-04-16
rm const traits in libcore
Deadbeef
-10
/
+6
2023-03-03
Match unmatched backticks in library/
est31
-1
/
+1
2022-12-28
Update bootstrap cfg
Pietro Albini
-8
/
+4
2022-11-20
Fix issue number
Rune Tynan
-1
/
+1
2022-11-20
Update with derive_const
Rune Tynan
-12
/
+11
2022-11-20
Add stability for alignment
Rune Tynan
-0
/
+2
2022-11-20
constify remaining layout methods
Rune Tynan
-5
/
+14
2022-10-26
Print the precondition we violated, and visible through output capture
Ben Kimock
-1
/
+6
2022-10-16
Fix types in documentation for Alignment::as_usize and Alignmnet::as_nonzero
Thayne McCombs
-2
/
+2
2022-10-09
From<Alignment> for usize & NonZeroUsize
Scott McMurray
-0
/
+16
2022-09-22
Derive Eq/PartialEq instead of manually implementing it
Scott McMurray
-15
/
+23
2022-09-21
Add `rustc_allow_const_fn_unstable` annotations to pre-existing `Layout` methods
Scott McMurray
-1
/
+3
2022-09-20
Add `ptr::Alignment` type
Scott McMurray
-0
/
+295