wasmtime_wasi::bindings
compilation error for wasi:cli/exit
and wasi:socket/network
, missing LinkOptions
parameter
#10119
Labels
bug
Incorrect behavior in the current implementation that needs fixing
Test Case
I have a minimal repro in this repository: https://github.com/robherley/wasmtime-bindgen-repro
Steps to Reproduce
wasmtime/crates/wasi/src/bindings.rs
Lines 39 to 41 in 58282df
cargo expand
(see myexpanded.rs
) or addinclude_generated_code_from_file: true
to the macro.Expected Results
The generated binding have the correction function signatures.
Actual Results
Versions and Environment
Wasmtime version or commit:
29.0.1
Operating system:
macOS 15.1.1
Architecture:
arm64
Extra Info
The only affected bindings are:
Which are missing
&wasmtime_wasi::bindings::cli::exit::LinkOptions
and&wasmtime_wasi::bindings::sockets::network::LinkOptions
The text was updated successfully, but these errors were encountered: