diff options
| author | bors <bors@rust-lang.org> | 2022-11-19 18:57:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-19 18:57:39 +0000 |
| commit | c5d82ed7a4ad94a538bb87e5016e7d5ce0bd434b (patch) | |
| tree | d750ff6e8581c0f61102ea195f0409ca77bd2f39 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 2a434286a96d61e9f55a3144004beec48206bb29 (diff) | |
| parent | c9c017dfb55e375800c3e424311939a7ba3d4deb (diff) | |
| download | rust-c5d82ed7a4ad94a538bb87e5016e7d5ce0bd434b.tar.gz rust-c5d82ed7a4ad94a538bb87e5016e7d5ce0bd434b.zip | |
Auto merge of #102795 - lukas-code:constify-is-aligned-via-align-offset, r=oli-obk
Constify `is_aligned` via `align_offset`
Alternative to https://github.com/rust-lang/rust/pull/102753
Make `align_offset` work in const eval (and not always return `usize::MAX`) and then use that to constify `is_aligned{_to}`.
Tracking Issue: https://github.com/rust-lang/rust/issues/104203
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
