Skip to content

Remove packed struct workaround for LLVM intrinsic returns - #2285

Merged
Amanieu merged 1 commit into
rust-lang:mainfrom
beetrees:no-packed-llvm-intrinsic-return
Nov 24, 2026
Merged

Amanieu merged 1 commit into
rust-lang:mainfrom
beetrees:no-packed-llvm-intrinsic-return

Conversation

@beetrees

Copy link
Copy Markdown
Contributor

Now that rust-lang/rust#164878 is merged and synced, there's no need to use repr C/packed structs to represent the return types of LLVM intrinsics. This PR replaces the structs that are immediately deconstructed with tuples.

@rustbot

rustbot commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the pull request, and welcome! The Rust Project has assigned @Amanieu (or someone else) to review your changes, you should hear from them (or someone else) within the next two weeks.

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @Amanieu, @adamgemmell, @davidtwco, @folkertdev
  • @Amanieu, @adamgemmell, @davidtwco, @folkertdev expanded to Amanieu, adamgemmell, davidtwco, folkertdev
  • Random selection from Amanieu, adamgemmell, davidtwco, folkertdev

@beetrees
beetrees force-pushed the no-packed-llvm-intrinsic-return branch from 318c478 to e9f2812 Compare November 24, 2026 04:45
@Amanieu
Amanieu added this pull request to the merge queue Nov 24, 2026
Merged via the queue into rust-lang:main with commit 01fc990 Nov 24, 2026
87 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants