Skip to content

unit and [1 x unit] layouts are incompatible on big-endian targets - #163343

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
folkertdev:abi-array-incompatible
Oct 8, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
folkertdev:abi-array-incompatible

Conversation

@folkertdev

@folkertdev folkertdev commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

cc @beetrees @RalfJung

Observe

https://godbolt.org/z/G6qrdT1Ez

target triple = "aarch64_be"

define float @unit([8 x float] %claim_all_regs, float %x) {
  ret float %x
}

define float @array([8 x float] %claim_all_regs, [1 x float] %x) {
  %v = extractvalue [1 x float] %x, 0
  ret float %v
}

results in

unit:                                   // @unit
        ldr     s0, [sp, #4]
        ret
array:                                  // @array
        ldr     s0, [sp]
        ret

So the value is stored in different halves of the register-sized stack slot when it is unit versus [1 x unit].


On powerpc64 (also a big-endian target) the layouts are also not equivalent:

https://godbolt.org/z/szfr6xPM7

in this case we want the bare float semantics

https://godbolt.org/z/vGKczqzcE

No other big-endian targets use Uniform::consecutive from what I can tell.


Maybe there is a better way to fix this? Like guarding on endianness if we really want the simpler LLVM type on LE.

@folkertdev folkertdev added O-PowerPC Target: PowerPC processors O-AArch64 Armv8-A or later processors in AArch64 mode A-ABI Area: Concerning the application binary interface (ABI) labels Sep 25, 2026
@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Sep 25, 2026
@folkertdev
folkertdev force-pushed the abi-array-incompatible branch from 1e606f5 to 8c080e2 Compare September 25, 2026 16:21
@rust-log-analyzer

This comment has been minimized.

@folkertdev
folkertdev force-pushed the abi-array-incompatible branch from 8c080e2 to 7b90831 Compare September 25, 2026 17:47
@RalfJung

Copy link
Copy Markdown
Member

LLVM ABI continues to be a treasure trove...

@nikic is this expected behavior?

@nikic

nikic commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

I think so? LLVM doesn't seem to be doing anything particularly interesting here. If the psABI says that a float and a 1-element float HFA have different ABI, then... that's just how it is.

https://clang.godbolt.org/z/TMec497aj just to double check that Clang and GCC agree on the ABI here.

@folkertdev

Copy link
Copy Markdown
Contributor Author

@bors try jobs=test-various

r? beetrees (or @nikic if you want)

@rustbot

rustbot commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

beetrees is currently at their maximum review capacity.
They may take a while to respond.

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 25, 2026
`unit` and `[1 x unit]` layouts are incompatible on big-endian targets


try-job: test-various
@folkertdev
folkertdev marked this pull request as ready for review September 25, 2026 22:34
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 25, 2026
@rust-bors

rust-bors Bot commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 38be567 (38be5679e8f8fcf6f4df3323a741e42f6f394551)
Base parent: 5ceaf66 (5ceaf6608eb354c2f5bbb3b8d974caa367dac81c)

@beetrees beetrees left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also add an assembly test for PowerPC64 and AArch64 that would fail if the wrong one of Uniform::new/Uniform::consecutive was used?

View changes since this review

Comment thread compiler/rustc_target/src/callconv/powerpc64.rs Outdated
@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 6, 2026
@rustbot

rustbot commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@folkertdev
folkertdev force-pushed the abi-array-incompatible branch from 7b90831 to 29b40c3 Compare October 6, 2026 09:17
@rustbot

rustbot commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@folkertdev

Copy link
Copy Markdown
Contributor Author

@rustbot ready

Added an llvm IR test (just like the others), assuming that is what you meant?

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 6, 2026
@beetrees

beetrees commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

I was thinking an assembly LLVM test that would fail if unit was used instead of [1 x unit] (or vice versa). Something like

#[repr(C)]
struct Hfa(f32);

#[unsafe(no_mangle)]
extern "C" fn float_hfa(_: f32, _: f32, _: f32, _: f32, _: f32, _: f32, _: f32, _: f32, x: Hfa) -> f32 {
    // CHECK-LABEL: float_hfa
    // CHECK: ldr s0, [sp]
    x.0
}

for AArch64 BE and the equivalent for PowerPC64.

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 6, 2026
so don't unwrap singleton arrays for it
@folkertdev
folkertdev force-pushed the abi-array-incompatible branch from 29b40c3 to b1a3475 Compare October 6, 2026 15:46

@folkertdev folkertdev Oct 6, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 6, 2026
@beetrees

beetrees commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Thanks.

@bors r+ rollup

@rust-bors

rust-bors Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

📌 Commit b1a3475 has been approved by beetrees

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 6, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Oct 7, 2026
… r=beetrees

`unit` and `[1 x unit]` layouts are incompatible on big-endian targets

cc @beetrees @RalfJung

Observe

https://godbolt.org/z/G6qrdT1Ez

```llvm
target triple = "aarch64_be"

define float @Unit([8 x float] %claim_all_regs, float %x) {
  ret float %x
}

define float @array([8 x float] %claim_all_regs, [1 x float] %x) {
  %v = extractvalue [1 x float] %x, 0
  ret float %v
}
```

results in

```asm
unit:                                   // @Unit
        ldr     s0, [sp, rust-lang#4]
        ret
array:                                  // @array
        ldr     s0, [sp]
        ret
```

So the value is stored in different halves of the register-sized stack slot when it is `unit` versus `[1 x unit]`.

---

On `powerpc64` (also a big-endian target) the layouts are also not equivalent:

https://godbolt.org/z/szfr6xPM7

in this case we want the bare `float`  semantics

https://godbolt.org/z/vGKczqzcE

No other big-endian targets use `Uniform::consecutive` from what I can tell.

---

Maybe there is a better way to fix this? Like guarding on endianness if we really want the simpler LLVM type on LE.
rust-bors Bot pushed a commit that referenced this pull request Oct 7, 2026
…uwer

Rollup of 25 pull requests

Successful merges:

 - #163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI)
 - #163806 (even more `tests/crashes` migration for `-Znext-solver`)
 - #162156 (add IBM f128 type)
 - #163508 (Document the `rustc_on_unimplemented` attribute.)
 - #163794 (Use `target_family = "wasm"` instead of `target_arch = "wasm32"`)
 - #163863 (use the type name instead of `Self` in constructor paths again)
 - #163864 (Remove CLAUDE.md)
 - #163877 (Add regression test for duplicated rustdoc search results between std and core)
 - #163916 (Shrink `PartialRes` and its alignment)
 - #149753 (On name resolution error in parameter list, suggest possible `const` typo and avoid unnecessary second error)
 - #152557 (Oneshot `is_ready`)
 - #157273 (Stabilize `optimize` attribute)
 - #162000 (peel_transparent_wrappers only works on non-1ZST)
 - #163257 (abby DSL: sanity checks on forall where clauses)
 - #163343 (`unit` and `[1 x unit]` layouts are incompatible on big-endian targets)
 - #163348 (perf:cache FFI safety results in improper_ctypes lint)
 - #163768 (Move more `rustdoc-html` tests in the right location)
 - #163778 (check is_indirect_first_projection when replacing in RefProp)
 - #163789 (cg_llvm: Avoid `as_c_char_ptr` in several places)
 - #163807 (Add `has_reliable_f16b` for Arm)
 - #163809 (Switch TLS implementation for wasi and bump SDK version to 34)
 - #163826 (Update books)
 - #163849 (ci: update to PowerShell 7.6.6)
 - #163869 (INSTALL.md: use UCRT64 instead of MINGW64 in MSYS2 section)
 - #163870 (Add if-installed:auto:spellcheck to pre-push script)
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Oct 7, 2026
… r=beetrees

`unit` and `[1 x unit]` layouts are incompatible on big-endian targets

cc @beetrees @RalfJung

Observe

https://godbolt.org/z/G6qrdT1Ez

```llvm
target triple = "aarch64_be"

define float @Unit([8 x float] %claim_all_regs, float %x) {
  ret float %x
}

define float @array([8 x float] %claim_all_regs, [1 x float] %x) {
  %v = extractvalue [1 x float] %x, 0
  ret float %v
}
```

results in

```asm
unit:                                   // @Unit
        ldr     s0, [sp, rust-lang#4]
        ret
array:                                  // @array
        ldr     s0, [sp]
        ret
```

So the value is stored in different halves of the register-sized stack slot when it is `unit` versus `[1 x unit]`.

---

On `powerpc64` (also a big-endian target) the layouts are also not equivalent:

https://godbolt.org/z/szfr6xPM7

in this case we want the bare `float`  semantics

https://godbolt.org/z/vGKczqzcE

No other big-endian targets use `Uniform::consecutive` from what I can tell.

---

Maybe there is a better way to fix this? Like guarding on endianness if we really want the simpler LLVM type on LE.
rust-bors Bot pushed a commit that referenced this pull request Oct 7, 2026
…uwer

Rollup of 24 pull requests

Successful merges:

 - #163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI)
 - #163806 (even more `tests/crashes` migration for `-Znext-solver`)
 - #163508 (Document the `rustc_on_unimplemented` attribute.)
 - #163794 (Use `target_family = "wasm"` instead of `target_arch = "wasm32"`)
 - #163863 (use the type name instead of `Self` in constructor paths again)
 - #163864 (Remove CLAUDE.md)
 - #163877 (Add regression test for duplicated rustdoc search results between std and core)
 - #163916 (Shrink `PartialRes` and its alignment)
 - #149753 (On name resolution error in parameter list, suggest possible `const` typo and avoid unnecessary second error)
 - #152557 (Oneshot `is_ready`)
 - #157273 (Stabilize `optimize` attribute)
 - #162000 (peel_transparent_wrappers only works on non-1ZST)
 - #163257 (abby DSL: sanity checks on forall where clauses)
 - #163343 (`unit` and `[1 x unit]` layouts are incompatible on big-endian targets)
 - #163348 (perf:cache FFI safety results in improper_ctypes lint)
 - #163768 (Move more `rustdoc-html` tests in the right location)
 - #163778 (check is_indirect_first_projection when replacing in RefProp)
 - #163789 (cg_llvm: Avoid `as_c_char_ptr` in several places)
 - #163807 (Add `has_reliable_f16b` for Arm)
 - #163809 (Switch TLS implementation for wasi and bump SDK version to 34)
 - #163826 (Update books)
 - #163849 (ci: update to PowerShell 7.6.6)
 - #163869 (INSTALL.md: use UCRT64 instead of MINGW64 in MSYS2 section)
 - #163870 (Add if-installed:auto:spellcheck to pre-push script)
rust-bors Bot pushed a commit that referenced this pull request Oct 7, 2026
…uwer

Rollup of 24 pull requests

Successful merges:

 - #163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI)
 - #163806 (even more `tests/crashes` migration for `-Znext-solver`)
 - #163508 (Document the `rustc_on_unimplemented` attribute.)
 - #163794 (Use `target_family = "wasm"` instead of `target_arch = "wasm32"`)
 - #163863 (use the type name instead of `Self` in constructor paths again)
 - #163864 (Remove CLAUDE.md)
 - #163877 (Add regression test for duplicated rustdoc search results between std and core)
 - #163916 (Shrink `PartialRes` and its alignment)
 - #149753 (On name resolution error in parameter list, suggest possible `const` typo and avoid unnecessary second error)
 - #152557 (Oneshot `is_ready`)
 - #157273 (Stabilize `optimize` attribute)
 - #162000 (peel_transparent_wrappers only works on non-1ZST)
 - #163257 (abby DSL: sanity checks on forall where clauses)
 - #163343 (`unit` and `[1 x unit]` layouts are incompatible on big-endian targets)
 - #163348 (perf:cache FFI safety results in improper_ctypes lint)
 - #163768 (Move more `rustdoc-html` tests in the right location)
 - #163778 (check is_indirect_first_projection when replacing in RefProp)
 - #163789 (cg_llvm: Avoid `as_c_char_ptr` in several places)
 - #163807 (Add `has_reliable_f16b` for Arm)
 - #163809 (Switch TLS implementation for wasi and bump SDK version to 34)
 - #163826 (Update books)
 - #163849 (ci: update to PowerShell 7.6.6)
 - #163869 (INSTALL.md: use UCRT64 instead of MINGW64 in MSYS2 section)
 - #163870 (Add if-installed:auto:spellcheck to pre-push script)
rust-bors Bot pushed a commit that referenced this pull request Oct 7, 2026
…uwer

Rollup of 24 pull requests

Successful merges:

 - #163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI)
 - #163806 (even more `tests/crashes` migration for `-Znext-solver`)
 - #163508 (Document the `rustc_on_unimplemented` attribute.)
 - #163794 (Use `target_family = "wasm"` instead of `target_arch = "wasm32"`)
 - #163863 (use the type name instead of `Self` in constructor paths again)
 - #163864 (Remove CLAUDE.md)
 - #163877 (Add regression test for duplicated rustdoc search results between std and core)
 - #163916 (Shrink `PartialRes` and its alignment)
 - #149753 (On name resolution error in parameter list, suggest possible `const` typo and avoid unnecessary second error)
 - #152557 (Oneshot `is_ready`)
 - #157273 (Stabilize `optimize` attribute)
 - #162000 (peel_transparent_wrappers only works on non-1ZST)
 - #163257 (abby DSL: sanity checks on forall where clauses)
 - #163343 (`unit` and `[1 x unit]` layouts are incompatible on big-endian targets)
 - #163348 (perf:cache FFI safety results in improper_ctypes lint)
 - #163768 (Move more `rustdoc-html` tests in the right location)
 - #163778 (check is_indirect_first_projection when replacing in RefProp)
 - #163789 (cg_llvm: Avoid `as_c_char_ptr` in several places)
 - #163807 (Add `has_reliable_f16b` for Arm)
 - #163809 (Switch TLS implementation for wasi and bump SDK version to 34)
 - #163826 (Update books)
 - #163849 (ci: update to PowerShell 7.6.6)
 - #163869 (INSTALL.md: use UCRT64 instead of MINGW64 in MSYS2 section)
 - #163870 (Add if-installed:auto:spellcheck to pre-push script)
rust-bors Bot pushed a commit that referenced this pull request Oct 7, 2026
…uwer

Rollup of 24 pull requests

Successful merges:

 - #163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI)
 - #163806 (even more `tests/crashes` migration for `-Znext-solver`)
 - #163508 (Document the `rustc_on_unimplemented` attribute.)
 - #163794 (Use `target_family = "wasm"` instead of `target_arch = "wasm32"`)
 - #163863 (use the type name instead of `Self` in constructor paths again)
 - #163864 (Remove CLAUDE.md)
 - #163877 (Add regression test for duplicated rustdoc search results between std and core)
 - #163916 (Shrink `PartialRes` and its alignment)
 - #149753 (On name resolution error in parameter list, suggest possible `const` typo and avoid unnecessary second error)
 - #152557 (Oneshot `is_ready`)
 - #157273 (Stabilize `optimize` attribute)
 - #162000 (peel_transparent_wrappers only works on non-1ZST)
 - #163257 (abby DSL: sanity checks on forall where clauses)
 - #163343 (`unit` and `[1 x unit]` layouts are incompatible on big-endian targets)
 - #163348 (perf:cache FFI safety results in improper_ctypes lint)
 - #163768 (Move more `rustdoc-html` tests in the right location)
 - #163778 (check is_indirect_first_projection when replacing in RefProp)
 - #163789 (cg_llvm: Avoid `as_c_char_ptr` in several places)
 - #163807 (Add `has_reliable_f16b` for Arm)
 - #163809 (Switch TLS implementation for wasi and bump SDK version to 34)
 - #163826 (Update books)
 - #163849 (ci: update to PowerShell 7.6.6)
 - #163869 (INSTALL.md: use UCRT64 instead of MINGW64 in MSYS2 section)
 - #163870 (Add if-installed:auto:spellcheck to pre-push script)
rust-bors Bot pushed a commit that referenced this pull request Oct 7, 2026
…uwer

Rollup of 23 pull requests

Successful merges:

 - #163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI)
 - #163806 (even more `tests/crashes` migration for `-Znext-solver`)
 - #163508 (Document the `rustc_on_unimplemented` attribute.)
 - #163794 (Use `target_family = "wasm"` instead of `target_arch = "wasm32"`)
 - #163863 (use the type name instead of `Self` in constructor paths again)
 - #163864 (Remove CLAUDE.md)
 - #163877 (Add regression test for duplicated rustdoc search results between std and core)
 - #163916 (Shrink `PartialRes` and its alignment)
 - #149753 (On name resolution error in parameter list, suggest possible `const` typo and avoid unnecessary second error)
 - #152557 (Oneshot `is_ready`)
 - #157273 (Stabilize `optimize` attribute)
 - #162000 (peel_transparent_wrappers only works on non-1ZST)
 - #163343 (`unit` and `[1 x unit]` layouts are incompatible on big-endian targets)
 - #163348 (perf:cache FFI safety results in improper_ctypes lint)
 - #163768 (Move more `rustdoc-html` tests in the right location)
 - #163778 (check is_indirect_first_projection when replacing in RefProp)
 - #163789 (cg_llvm: Avoid `as_c_char_ptr` in several places)
 - #163807 (Add `has_reliable_f16b` for Arm)
 - #163809 (Switch TLS implementation for wasi and bump SDK version to 34)
 - #163826 (Update books)
 - #163849 (ci: update to PowerShell 7.6.6)
 - #163869 (INSTALL.md: use UCRT64 instead of MINGW64 in MSYS2 section)
 - #163870 (Add if-installed:auto:spellcheck to pre-push script)
@rust-bors
rust-bors Bot merged commit d107817 into rust-lang:main Oct 8, 2026
14 checks passed
@rustbot rustbot added this to the 1.101.0 milestone Oct 8, 2026
rust-bors Bot pushed a commit that referenced this pull request Oct 8, 2026
Rollup merge of #163343 - folkertdev:abi-array-incompatible, r=beetrees

`unit` and `[1 x unit]` layouts are incompatible on big-endian targets

cc @beetrees @RalfJung

Observe

https://godbolt.org/z/G6qrdT1Ez

```llvm
target triple = "aarch64_be"

define float @Unit([8 x float] %claim_all_regs, float %x) {
  ret float %x
}

define float @array([8 x float] %claim_all_regs, [1 x float] %x) {
  %v = extractvalue [1 x float] %x, 0
  ret float %v
}
```

results in

```asm
unit:                                   // @Unit
        ldr     s0, [sp, #4]
        ret
array:                                  // @array
        ldr     s0, [sp]
        ret
```

So the value is stored in different halves of the register-sized stack slot when it is `unit` versus `[1 x unit]`.

---

On `powerpc64` (also a big-endian target) the layouts are also not equivalent:

https://godbolt.org/z/szfr6xPM7

in this case we want the bare `float`  semantics

https://godbolt.org/z/vGKczqzcE

No other big-endian targets use `Uniform::consecutive` from what I can tell.

---

Maybe there is a better way to fix this? Like guarding on endianness if we really want the simpler LLVM type on LE.
@rust-timer

Copy link
Copy Markdown
Collaborator

Note

This PR was benchmarked as part of triage of its containing rollup: triage URL.

Finished benchmarking commit (90495a8): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-0.2% [-0.2%, -0.2%] 1
Improvements ✅
(secondary)
-0.3% [-0.5%, -0.1%] 11
All ❌✅ (primary) -0.2% [-0.2%, -0.2%] 1

Max RSS (memory usage)

This perf run didn't have relevant results for this metric.

Cycles

This perf run didn't have relevant results for this metric.

Binary size

This perf run didn't have relevant results for this metric.

Artifact size: 408.59 MiB -> 408.68 MiB (0.02%)

@JonathanBrouwer

Copy link
Copy Markdown
Member

This is noise, all PRs in the rollup have the same results

github-actions Bot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Oct 10, 2026
…uwer

Rollup of 23 pull requests

Successful merges:

 - rust-lang/rust#163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI)
 - rust-lang/rust#163806 (even more `tests/crashes` migration for `-Znext-solver`)
 - rust-lang/rust#163508 (Document the `rustc_on_unimplemented` attribute.)
 - rust-lang/rust#163794 (Use `target_family = "wasm"` instead of `target_arch = "wasm32"`)
 - rust-lang/rust#163863 (use the type name instead of `Self` in constructor paths again)
 - rust-lang/rust#163864 (Remove CLAUDE.md)
 - rust-lang/rust#163877 (Add regression test for duplicated rustdoc search results between std and core)
 - rust-lang/rust#163916 (Shrink `PartialRes` and its alignment)
 - rust-lang/rust#149753 (On name resolution error in parameter list, suggest possible `const` typo and avoid unnecessary second error)
 - rust-lang/rust#152557 (Oneshot `is_ready`)
 - rust-lang/rust#157273 (Stabilize `optimize` attribute)
 - rust-lang/rust#162000 (peel_transparent_wrappers only works on non-1ZST)
 - rust-lang/rust#163343 (`unit` and `[1 x unit]` layouts are incompatible on big-endian targets)
 - rust-lang/rust#163348 (perf:cache FFI safety results in improper_ctypes lint)
 - rust-lang/rust#163768 (Move more `rustdoc-html` tests in the right location)
 - rust-lang/rust#163778 (check is_indirect_first_projection when replacing in RefProp)
 - rust-lang/rust#163789 (cg_llvm: Avoid `as_c_char_ptr` in several places)
 - rust-lang/rust#163807 (Add `has_reliable_f16b` for Arm)
 - rust-lang/rust#163809 (Switch TLS implementation for wasi and bump SDK version to 34)
 - rust-lang/rust#163826 (Update books)
 - rust-lang/rust#163849 (ci: update to PowerShell 7.6.6)
 - rust-lang/rust#163869 (INSTALL.md: use UCRT64 instead of MINGW64 in MSYS2 section)
 - rust-lang/rust#163870 (Add if-installed:auto:spellcheck to pre-push script)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ABI Area: Concerning the application binary interface (ABI) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. O-AArch64 Armv8-A or later processors in AArch64 mode O-PowerPC Target: PowerPC processors S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants