Skip to content

Reapply "[MC][NFC] Make FeatureKV/SubtargetKV pointers private" (#206234)#206237

Merged
aengelke merged 1 commit into
mainfrom
users/aengelke/spr/reapply-mcnfc-make-featurekvsubtargetkv-pointers-private-206234
Jun 27, 2026
Merged

Reapply "[MC][NFC] Make FeatureKV/SubtargetKV pointers private" (#206234)#206237
aengelke merged 1 commit into
mainfrom
users/aengelke/spr/reapply-mcnfc-make-featurekvsubtargetkv-pointers-private-206234

Conversation

@aengelke

Copy link
Copy Markdown
Contributor

Fix C++20 build by adding an explicit constructor. This also permits
making the fields private.

This reapplies #206178.
This reverts commit e44103c.

Created using spr 1.3.8-wip
@aengelke aengelke added the skip-precommit-approval PR for CI feedback, not intended for review label Jun 27, 2026
@aengelke aengelke enabled auto-merge (squash) June 27, 2026 10:00
@aengelke aengelke merged commit e7cd51b into main Jun 27, 2026
18 of 19 checks passed
@aengelke aengelke deleted the users/aengelke/spr/reapply-mcnfc-make-featurekvsubtargetkv-pointers-private-206234 branch June 27, 2026 10:39
JonathanBrouwer pushed a commit to JonathanBrouwer/rust that referenced this pull request Jun 29, 2026
In LLVM, FeatureKV/SubtargetKV pointers are now private:
llvm/llvm-project#206237
This change fixes compiler errors when building rustc with ToT LLVM
by using the key() and desc() accessors.
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jun 29, 2026
llvm-wrapper: use accessors for private fields in LLVM 23+

In LLVM, FeatureKV/SubtargetKV pointers are now private:
llvm/llvm-project#206237
This change fixes compiler errors when building rustc with ToT LLVM
by using the key() and desc() accessors.
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jun 30, 2026
llvm-wrapper: use accessors for private fields in LLVM 23+

In LLVM, FeatureKV/SubtargetKV pointers are now private:
llvm/llvm-project#206237
This change fixes compiler errors when building rustc with ToT LLVM
by using the key() and desc() accessors.
LouisLu060211 pushed a commit to LouisLu060211/llvm-project that referenced this pull request Jun 30, 2026
…#206234) (llvm#206237)

Fix C++20 build by adding an explicit constructor. This also permits
making the fields private.

This reapplies llvm#206178.
This reverts commit e44103c.
rust-timer added a commit to rust-lang/rust that referenced this pull request Jun 30, 2026
Rollup merge of #158568 - liza371:llvm-23-compat, r=nikic

llvm-wrapper: use accessors for private fields in LLVM 23+

In LLVM, FeatureKV/SubtargetKV pointers are now private:
llvm/llvm-project#206237
This change fixes compiler errors when building rustc with ToT LLVM
by using the key() and desc() accessors.
maarcosrmz pushed a commit to maarcosrmz/llvm-project that referenced this pull request Jul 1, 2026
…#206234) (llvm#206237)

Fix C++20 build by adding an explicit constructor. This also permits
making the fields private.

This reapplies llvm#206178.
This reverts commit e44103c.
zedddie pushed a commit to zedddie/rust that referenced this pull request Jul 2, 2026
In LLVM, FeatureKV/SubtargetKV pointers are now private:
llvm/llvm-project#206237
This change fixes compiler errors when building rustc with ToT LLVM
by using the key() and desc() accessors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant