Stream: git-wasmtime

Topic: wasmtime / PR #9614 Add a `signals-based-traps` Cargo com...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2024 at 13:52):

alexcrichton opened PR #9614 from alexcrichton:traps-cargo-feature to bytecodealliance:main:

This PR adds a new signals-based-traps Cargo compile-time feature which mirrors the Config::signals_based_traps runtime configuration. Disabling this Cargo feature enables reducing Wasmtime's platform requirements to remove the need for virtual memory and trap handlers for example. That means that the underlying platform requirements are just setjmp/longjmp and a single pointer of thread-local storage. This should make it significantly easier to port Wasmtime to platforms that may not have virtual memory in the future.

I'll note that one of the main purposes of this PR isn't quite realized just yet which is to run Pulley on embedded systems. Pulley isn't finished, however, so this is more setting the stage for that to be possible in the future than enabling it right this red-hot-second.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2024 at 14:00):

alexcrichton updated PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2024 at 14:09):

alexcrichton updated PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2024 at 14:10):

alexcrichton updated PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2024 at 15:44):

github-actions[bot] commented on PR #9614:

Label Messager: wasmtime:config

It looks like you are changing Wasmtime's configuration options. Make sure to
complete this check list:

[fuzzing-config]: https://github.com/bytecodealliance/wasmtime/blob/ca0e8d0a1d8cefc0496dba2f77a670571d8fdcab/crates/fuzzing/src/generators.rs#L182-L194
[fuzzing-docs]: https://docs.wasmtime.dev/contributing-fuzzing.html


<details>

To modify this label's message, edit the <code>.github/label-messager/wasmtime-config.md</code> file.

To add new label messages or remove existing label messages, edit the
<code>.github/label-messager.json</code> configuration file.

Learn more.

</details>

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2024 at 17:50):

alexcrichton updated PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2024 at 17:53):

alexcrichton updated PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2024 at 19:44):

github-actions[bot] commented on PR #9614:

Subscribe to Label Action

cc @fitzgen

<details>
This issue or pull request has been labeled: "fuzzing", "wasi", "wasmtime:api", "wasmtime:config"

Thus the following users have been cc'd because of the following labels:

To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.

Learn more.
</details>

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2024 at 19:52):

alexcrichton updated PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2024 at 11:26):

bjorn3 created PR review comment:

Maybe make this the default when std is enabled? It seems highly unintuitive that disabling say the gc feature using default-features = false would silently reduce performance.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2024 at 11:26):

bjorn3 submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2024 at 11:27):

bjorn3 edited PR review comment.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2024 at 16:56):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2024 at 16:56):

alexcrichton created PR review comment:

Agreed yeah, I added that in bb8fa843139ac84247e0883908a9da429ef5b7d5

view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2024 at 17:11):

alexcrichton has marked PR #9614 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2024 at 17:11):

alexcrichton requested wasmtime-fuzz-reviewers for a review on PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2024 at 17:11):

alexcrichton requested pchickey for a review on PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2024 at 17:11):

alexcrichton requested wasmtime-core-reviewers for a review on PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2024 at 17:11):

alexcrichton requested wasmtime-default-reviewers for a review on PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2024 at 18:10):

alexcrichton closed without merge PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2024 at 18:10):

alexcrichton updated PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2024 at 18:10):

alexcrichton reopened PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2024 at 21:02):

alexcrichton updated PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2024 at 21:33):

pchickey submitted PR review:

Pretty cool!

view this post on Zulip Wasmtime GitHub notifications bot (Nov 18 2024 at 21:33):

pchickey created PR review comment:

TODO

view this post on Zulip Wasmtime GitHub notifications bot (Nov 19 2024 at 19:01):

alexcrichton updated PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 19 2024 at 19:01):

alexcrichton commented on PR #9614:

I've pushed some extra refactoring of MmapVec as well to handle the internals a bit better given today's requirements.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 19 2024 at 19:02):

alexcrichton has enabled auto merge for PR #9614.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 19 2024 at 19:44):

alexcrichton merged PR #9614.


Last updated: Nov 22 2024 at 16:03 UTC