Skip to content

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

Merged
alexcrichton merged 3 commits intobytecodealliance:release-29.0.0from
alexcrichton:backport
Jan 21, 2025
Merged

[29.0.x]: Fix a missing increment in p1-to-p2 adapter#10067
alexcrichton merged 3 commits intobytecodealliance:release-29.0.0from
alexcrichton:backport

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