Skip to content

When path_open fails, set the output fd to -1.#114

Merged
sunfishcode merged 1 commit intobytecodealliance:masterfrom
sunfishcode:path_open_error_fd
Apr 30, 2019
Merged

When path_open fails, set the output fd to -1.#114
sunfishcode merged 1 commit intobytecodealliance:masterfrom
sunfishcode:path_open_error_fd

Conversation

@sunfishcode
Copy link
Member

No description provided.

@sunfishcode sunfishcode merged commit e62607e into bytecodealliance:master Apr 30, 2019
@sunfishcode sunfishcode deleted the path_open_error_fd branch April 30, 2019 06:34
grishasobol pushed a commit to grishasobol/wasmtime that referenced this pull request Nov 29, 2021
…nce#114)

* bump wabt version to 0.4

It has some interface changes.

* bump up testsuite and add two more test cases

* use the same expect string
howjmay pushed a commit to howjmay/wasmtime that referenced this pull request Jan 24, 2022
The previous code mistakenly didn't return a trap when go panicked,
meaning that wasm was actually resumed. Instead the wasm is intended to
receive a trap to unwind back to the original call frame.

Closes bytecodealliance#106
mooori pushed a commit to mooori/wasmtime that referenced this pull request Dec 20, 2023
frank-emrich added a commit to frank-emrich/wasmtime that referenced this pull request Feb 27, 2024
This PR adds the flag `wasmfx-stack-size` to the `WasmOptions` group of
`wasmtime` CLI arguments.
This means that values are provided as follows:
```
wasmtime run -Wwasmfx-stack-size=123 ...
```

Its value is used in the implementation of `cont.new` when allocating a
`FiberStack`. The default value of the flag is
`wamtime_runtime::continuation::DEFAULT_FIBER_SIZE` (i..e, the previous
hard-coded value for the fiber stack size).

Inside wasmtime's main configuration struct, of type
`wasmtime::config::Config`, the value of this flag is stored inside a
new struct of type `wasmtime_continuations::WasmFxConfig`. This new
struct is required so that we can use `WasmFxConfig` objects in the
runtime crate, where the overall `wasmtime::config::Config` is not in
scope.

---------

Co-authored-by: Daniel Hillerström <daniel.hillerstrom@ed.ac.uk>
avanhatt pushed a commit to wellesley-prog-sys/wasmtime that referenced this pull request Oct 9, 2024
Generate specs for `AluRRRExtend`.

Updates #35
rvolosatovs added a commit to rvolosatovs/wasmtime that referenced this pull request Apr 9, 2025
…wit-dep-tag

Revert "ci: include version in WIT deps"
alexcrichton pushed a commit to alexcrichton/wasmtime that referenced this pull request Oct 8, 2025
bongjunj pushed a commit to prosyslab/wasmtime that referenced this pull request Oct 20, 2025
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.

1 participant