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

[29.0.x]: Fix a missing increment in p1-to-p2 adapter #10067

Merged
merged 3 commits into from
Jan 21, 2025

Conversation

alexcrichton
Copy link
Member

Backport of #10064 to the 29.0.x release branch to get a new official release of the adapter binaries. Additionally backports #10059 to get CI passing.

saulecabrera and others added 2 commits January 21, 2025 11:54
I noticed that CI is failing given that an audit and policy for
`wasmtime-math` is missing.

`wasmtime-math` was introduced in
https://github.com/bytecodealliance/wasmtime/pull/9808/files.

I followed a similar approach to what it's used for all the other
`wasmtime-*` crates.
This commit fixes a bug in the WASIp1-to-WASIp2 adapter during
`fd_prestat_dir_name` where an iterator variable was forgotten to be
incremented. That means that getting the path for anything other than
the first preopen didn't work correctly.

Closes bytecodealliance#10058
@alexcrichton alexcrichton requested review from a team as code owners January 21, 2025 19:55
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team January 21, 2025 19:55
Compat with 1.81.0 MSRV
@alexcrichton alexcrichton merged commit e304726 into bytecodealliance:release-29.0.0 Jan 21, 2025
136 checks passed
@alexcrichton alexcrichton deleted the backport branch January 21, 2025 20:25
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.

3 participants