Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge with upstream up to release v1.208.1 #90

Merged
merged 11 commits into from
May 21, 2024
Merged

Conversation

dhil
Copy link
Member

@dhil dhil commented May 21, 2024

No description provided.

alexcrichton and others added 11 commits May 16, 2024 19:25
I've seen this recommended a number of times for installing precompiled
binaries and this enables `cargo binstall` to pull from the precompiled
artifacts produced on CI rather than needing a third-party source.
* threads: add `global.atomic.rmw.*` instructions

This change adds support for the various `global.atomic.rmw.*`
instructions that are now available as a part of the
shared-everything-threads [proposal].

[proposal]: https://github.com/WebAssembly/shared-everything-threads

* Fix operand validation; refactor validation helpers

The `global.atomic.rmw.*` instructions have different validation
constraints for different instructions. `xchg` maches
`global.atomic.get|set` in that it accepts subtypes of `anyref`. But
`cmpxchg` accepts subtypes of `eqref`. All the instructions accept `i32`
and `i64`. To make this more clear (and avoid mistakes like the ones I
made), I moved these "special" cases up a level to be more visible. This
allowed removing some of the other helper functions.
…pes (bytecodealliance#1566)

* put #[inline] on all forwarding set fns

* put #[inline] on all forwarding map fns

* put #[inline] on most forwarding indexset fns

* put #[inline] on forwarding indexmap fns
[automatically-tag-and-release-this-commit]

Co-authored-by: Auto Release Process <auto-release-process@users.noreply.github.com>
…ance#1569)

Required now that the types here are new types defined in this crate.
Currently required in Wasmtime so add then back in with the trivial
implementations.
Mirrored after `indexmap::IndexSet`.
This fixes a mistake in bytecodealliance#1569 where it accidentally broke `no_std`
support since the `std` feature of the `serde` crate was still enabled.
[automatically-tag-and-release-this-commit]

Co-authored-by: Auto Release Process <auto-release-process@users.noreply.github.com>
@dhil dhil merged commit 134828e into wasmfx:main May 21, 2024
25 checks passed
@dhil dhil deleted the wasmfx-merge branch May 21, 2024 06:50
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.

5 participants