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

Leverage Rust 1.79, 1.80 #9498

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

alexcrichton
Copy link
Member

This commit is a follow-up to #9496 to leverage various APIs that the workspace now has access to. For example most dependencies on the once_cell crate are now removed in favor of the types stabilized in the standard library: LazyLock and LazyCell. One dependency remains in the wasmtime crate due to the get_or_try_init not being stable yet.

Some additional helper methods on raw pointer slices are also available for removing a few minor unsafe blocks.

This commit is a follow-up to bytecodealliance#9496 to leverage various APIs that the
workspace now has access to. For example most dependencies on the
`once_cell` crate are now removed in favor of the types stabilized in
the standard library: `LazyLock` and `LazyCell`. One dependency remains
in the `wasmtime` crate due to the `get_or_try_init` not being stable
yet.

Some additional helper methods on raw pointer slices are also available
for removing a few minor `unsafe` blocks.
@alexcrichton alexcrichton requested review from a team as code owners October 22, 2024 21:46
@alexcrichton alexcrichton requested review from elliottt and removed request for a team October 22, 2024 21:46
@alexcrichton alexcrichton added this pull request to the merge queue Oct 22, 2024
Merged via the queue into bytecodealliance:main with commit b79a96a Oct 22, 2024
41 checks passed
@alexcrichton alexcrichton deleted the update-rust branch October 22, 2024 22:16
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.

2 participants