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

fix: enable wasip2 feature for wasm32-wasip2 target #1205

Merged

Conversation

cdmurph32
Copy link
Contributor

@ricochet ricochet requested a review from sunfishcode November 4, 2024 18:06
@cdmurph32 cdmurph32 marked this pull request as ready for review November 4, 2024 18:36
Copy link
Member

@sunfishcode sunfishcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Just one comment:

Cargo.toml Outdated
@@ -13,7 +13,7 @@ edition = "2021"
keywords = ["api", "file", "network", "safe", "syscall"]
categories = ["os::unix-apis", "date-and-time", "filesystem", "network-programming"]
include = ["src", "build.rs", "Cargo.toml", "COPYRIGHT", "LICENSE*", "/*.md", "benches"]
rust-version = "1.63"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you revert this rust-version change? It isn't practical for us to bump the MSRV for all rustix users. Since wasip2 is a new target, I think we can just leave rust-version at 1.63 and just expect people using wasip2 to use the lastest Rust version.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change pushed.

@sunfishcode
Copy link
Member

Thanks!

@sunfishcode sunfishcode merged commit 5a3dabc into bytecodealliance:main Nov 4, 2024
42 of 43 checks passed
sunfishcode pushed a commit that referenced this pull request Nov 4, 2024
* fix: enable wasip2 feature for wasm32-wasip2 target

Signed-off-by: Colin Murphy <[email protected]>

* Do not change MSRV

---------

Signed-off-by: Colin Murphy <[email protected]>
sunfishcode pushed a commit that referenced this pull request Nov 4, 2024
* fix: enable wasip2 feature for wasm32-wasip2 target

Signed-off-by: Colin Murphy <[email protected]>

* Do not change MSRV

---------

Signed-off-by: Colin Murphy <[email protected]>
@sunfishcode
Copy link
Member

This is now released in rustix 0.38.39.

Stebalien added a commit to Stebalien/tempfile that referenced this pull request Nov 8, 2024
- wasip2 will require +nightly until rust-lang/rust#130323 is resolved and/or std::os::wasip2 is available in stable.
- Support was added to rustix for version 0.38.39 bytecodealliance/rustix#1205

Signed-off-by: Colin Murphy <[email protected]>
Co-authored-by: Steven Allen <[email protected]>
cdmurph32 added a commit to cdmurph32/c2pa-rs that referenced this pull request Nov 12, 2024
- wasip2 will require +nightly until rust-lang/rust#130323 is resolved and/or std::os::wasip2 is available in stable.
- Support was added to rustix for version 0.38.39 bytecodealliance/rustix#1205
- Support was added to tempfile for version 3.14 Stebalien/tempfile#305
cdmurph32 added a commit to cdmurph32/c2pa-rs that referenced this pull request Nov 12, 2024
- wasip2 will require +nightly until rust-lang/rust#130323 is resolved and/or std::os::wasip2 is available in stable.
- Support was added to rustix for version 0.38.39 bytecodealliance/rustix#1205
- Support was added to tempfile for version 3.14 Stebalien/tempfile#305
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