Repository navigation
Restore the section in global-target-feature.rs - #166539
Merged
rust-bors[bot] merged 1 commit intoNov 25, 2026
Merged
rust-bors[bot] merged 1 commit into
rust-bors[bot] merged 1 commit into
Conversation
This test switches the section with `.section` and never switches it back. The Reference says that assembly using a stateful directive must undo the effect of the directive before the block ends (see `asm.directives.stateful`). In this case, nothing follows the block, so nothing is affected. But let's make the test follow the rule.
traviscross
marked this pull request as ready for review
November 25, 2026 01:38
Member
|
@bors r+ |
Contributor
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 25, 2026
…uwer Rollup of 9 pull requests Successful merges: - #166487 (core: Use autotests to split up coretests) - #165145 (Various incr comp session refactors) - #165337 (Windows: Don't make RwLock writers race readers) - #165732 (feat: rename region obligations) - #166061 (Offload: generic kernels in a lib) - #166539 (Restore the section in `global-target-feature.rs`) - #165721 (avoid Terminator:None in coroutine drop shim building) - #166453 (perf: remove cache in `FoldEscapingRegions`) - #166547 (Pin i686 msvc)
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 25, 2026
Rollup merge of #166539 - traviscross:TC/restore-section-in-global-target-feature, r=Amanieu Restore the section in `global-target-feature.rs` This test switches the section with `.section` and never switches it back. The Reference says that assembly using a stateful directive must undo the effect of the directive before the block ends (see `asm.directives.stateful`). In this case, nothing follows the block, so nothing is affected. But let's make the test follow the rule. r? @Amanieu
mehmettoplu-rs
pushed a commit
to mehmettoplu-rs/miri
that referenced
this pull request
Nov 26, 2026
…uwer Rollup of 9 pull requests Successful merges: - rust-lang/rust#166487 (core: Use autotests to split up coretests) - rust-lang/rust#165145 (Various incr comp session refactors) - rust-lang/rust#165337 (Windows: Don't make RwLock writers race readers) - rust-lang/rust#165732 (feat: rename region obligations) - rust-lang/rust#166061 (Offload: generic kernels in a lib) - rust-lang/rust#166539 (Restore the section in `global-target-feature.rs`) - rust-lang/rust#165721 (avoid Terminator:None in coroutine drop shim building) - rust-lang/rust#166453 (perf: remove cache in `FoldEscapingRegions`) - rust-lang/rust#166547 (Pin i686 msvc)
bjorn3
pushed a commit
to rust-lang/rustc_codegen_cranelift
that referenced
this pull request
Nov 27, 2026
…uwer Rollup of 9 pull requests Successful merges: - rust-lang/rust#166487 (core: Use autotests to split up coretests) - rust-lang/rust#165145 (Various incr comp session refactors) - rust-lang/rust#165337 (Windows: Don't make RwLock writers race readers) - rust-lang/rust#165732 (feat: rename region obligations) - rust-lang/rust#166061 (Offload: generic kernels in a lib) - rust-lang/rust#166539 (Restore the section in `global-target-feature.rs`) - rust-lang/rust#165721 (avoid Terminator:None in coroutine drop shim building) - rust-lang/rust#166453 (perf: remove cache in `FoldEscapingRegions`) - rust-lang/rust#166547 (Pin i686 msvc)
mehmettoplu-rs
pushed a commit
to mehmettoplu-rs/rustc_codegen_gcc
that referenced
this pull request
Nov 27, 2026
…uwer Rollup of 9 pull requests Successful merges: - rust-lang/rust#166487 (core: Use autotests to split up coretests) - rust-lang/rust#165145 (Various incr comp session refactors) - rust-lang/rust#165337 (Windows: Don't make RwLock writers race readers) - rust-lang/rust#165732 (feat: rename region obligations) - rust-lang/rust#166061 (Offload: generic kernels in a lib) - rust-lang/rust#166539 (Restore the section in `global-target-feature.rs`) - rust-lang/rust#165721 (avoid Terminator:None in coroutine drop shim building) - rust-lang/rust#166453 (perf: remove cache in `FoldEscapingRegions`) - rust-lang/rust#166547 (Pin i686 msvc)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This test switches the section with
.sectionand never switches it back. The Reference says that assembly using a stateful directive must undo the effect of the directive before the block ends (seeasm.directives.stateful).In this case, nothing follows the block, so nothing is affected. But let's make the test follow the rule.
r? @Amanieu