Skip to content

rustc: Modernize wasm checks for atomics - #73665

Merged
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:update-wasm-atomics-feature
Jun 24, 2020
Merged

rustc: Modernize wasm checks for atomics#73665
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:update-wasm-atomics-feature

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

This commit modernizes how rustc checks for whether the atomics
feature is enabled for the wasm target. The sess.target_features set
is consulted instead of fiddling around with dealing with various
aspects of LLVM and that syntax.

This commit modernizes how rustc checks for whether the `atomics`
feature is enabled for the wasm target. The `sess.target_features` set
is consulted instead of fiddling around with dealing with various
aspects of LLVM and that syntax.
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @davidtwco

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 23, 2020
@davidtwco

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Jun 23, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 0c2b025 has been approved by davidtwco

@borsbors 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 Jun 23, 2020
Manishearth added a commit to Manishearth/rust that referenced this pull request Jun 23, 2020
…ature, r=davidtwco
rustc: Modernize wasm checks for atomics
This commit modernizes how rustc checks for whether the `atomics`
feature is enabled for the wasm target. The `sess.target_features` set
is consulted instead of fiddling around with dealing with various
aspects of LLVM and that syntax.
This was referenced Jun 23, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 23, 2020
…arth
Rollup of 11 pull requests
Successful merges:
- rust-lang#72780 (Enforce doc alias check)
- rust-lang#72876 (Mention that BTreeMap::new() doesn't allocate)
- rust-lang#73244 (Check for assignments between non-conflicting generator saved locals)
- rust-lang#73488 (code coverage foundation for hash and num_counters)
- rust-lang#73523 (Fix -Z unpretty=everybody_loops)
- rust-lang#73587 (Move remaining `NodeId` APIs from `Definitions` to `Resolver`)
- rust-lang#73601 (Point at the call span when overflow occurs during monomorphization)
- rust-lang#73613 (The const propagator cannot trace references.)
- rust-lang#73614 (fix `intrinsics::needs_drop` docs)
- rust-lang#73630 (Provide context on E0308 involving fn items)
- rust-lang#73665 (rustc: Modernize wasm checks for atomics)
Failed merges:
r? @ghost
@bors
bors merged commit 6ed6a84 into rust-lang:masterJun 24, 2020
@alexcrichton
alexcrichton deleted the update-wasm-atomics-feature branch July 23, 2020 21:21
@cuvipercuviper added this to the 1.46 milestone May 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@alexcrichton@rust-highfive@davidtwco@bors@cuviper