Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
8dec09f
support wasm inline assembly in naked functions
folkertdev Jan 15, 2025
bcf478b
work around the `wasm32-unknown-unknown` ABI being broken
folkertdev Jan 17, 2025
bf5e634
proc_macro: add `#![warn(unreachable_pub)]`
Urgau Jan 9, 2025
939b704
test: add `#![warn(unreachable_pub)]`
Urgau Jan 9, 2025
00381ea
Make it possible to build GCC on CI
Kobzol Jan 2, 2025
9b70b8b
CI: free disk with in-tree script instead of GitHub Action
marcoieni Jan 21, 2025
aef640a
Only assert the `Parser` size on specific arches
cuviper Jan 22, 2025
eb3b3fe
ci: use 8 core arm runner for dist-aarch64-linux
marcoieni Jan 22, 2025
2a544ab
Target modifiers (special marked options) are recorded in metainfo an…
azhogin Nov 17, 2024
87f7535
Reword "crate not found" resolve message
estebank Nov 18, 2024
6b06aa6
Enable kernel sanitizers for aarch64-unknown-none-softfloat
workingjubilee Jan 22, 2025
ff39ce9
Rollup merge of #133138 - azhogin:azhogin/target-modifiers, r=davidtw…
jhpratt Jan 23, 2025
76f57a5
Rollup merge of #133154 - estebank:issue-133137, r=wesleywiser
jhpratt Jan 23, 2025
f05e0c1
Rollup merge of #135366 - Urgau:unreach_pub-std-2, r=cuviper
jhpratt Jan 23, 2025
6e33327
Rollup merge of #135638 - Kobzol:gcc-ci, r=onur-ozkan
jhpratt Jan 23, 2025
781e01f
Rollup merge of #135648 - folkertdev:naked-asm-wasm, r=bjorn3
jhpratt Jan 23, 2025
c7413a6
Rollup merge of #135827 - marcoieni:free-space-script, r=Kobzol
jhpratt Jan 23, 2025
a91ac7d
Rollup merge of #135855 - cuviper:parser-size, r=wesleywiser
jhpratt Jan 23, 2025
b03ec03
Rollup merge of #135878 - marcoieni:dist-aarch64-linux-8c, r=Kobzol
jhpratt Jan 23, 2025
30177b8
Rollup merge of #135905 - workingjubilee:softly-sanitize-aarch64-floa…
jhpratt Jan 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Only assert the Parser size on specific arches
The size of this struct depends on the alignment of `u128`, for example
powerpc64le and s390x have align-8 and end up with only 280 bytes. Our
64-bit tier-1 arches are the same though, so let's just assert on those.
  • Loading branch information
cuviper committed Jan 22, 2025
commit aef640a6130ccb3edf9bc720881c3a9dde3c0ecd
5 changes: 3 additions & 2 deletions compiler/rustc_parse/src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,9 @@ pub struct Parser<'a> {
}

// This type is used a lot, e.g. it's cloned when matching many declarative macro rules with
// nonterminals. Make sure it doesn't unintentionally get bigger.
#[cfg(all(target_pointer_width = "64", not(target_arch = "s390x")))]
// nonterminals. Make sure it doesn't unintentionally get bigger. We only check a few arches
// though, because `TokenTypeSet(u128)` alignment varies on others, changing the total size.
#[cfg(all(target_pointer_width = "64", any(target_arch = "aarch64", target_arch = "x86_64")))]
rustc_data_structures::static_assert_size!(Parser<'_>, 288);

/// Stores span information about a closure.
Expand Down
Loading