Stream: git-wasmtime

Topic: wasmtime / PR #7844 Fix handling of `Tunables` on cross-c...


view this post on Zulip Wasmtime GitHub notifications bot (Jan 29 2024 at 22:45):

alexcrichton opened PR #7844 from alexcrichton:tunables to bytecodealliance:main:

This commit fixes how Wasmtime handles Tunables when targetting non-host platforms (or namely platforms with different pointer widths). Previously the host's Tunables would always be used instead of the target's tunables which meant that modules couldn't be loaded on the other platform due to the host having differing tunables by default.

This commit updates tunables in wasmtime::Config to all be optional and loading the actual Tunables is deferred until the target is known during Engine-creation time.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Jan 29 2024 at 22:45):

alexcrichton requested pchickey for a review on PR #7844.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 29 2024 at 22:45):

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

view this post on Zulip Wasmtime GitHub notifications bot (Jan 29 2024 at 23:51):

alexcrichton requested fitzgen for a review on PR #7844.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 29 2024 at 23:51):

alexcrichton requested wasmtime-compiler-reviewers for a review on PR #7844.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 29 2024 at 23:51):

alexcrichton updated PR #7844.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 30 2024 at 01:57):

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

Subscribe to Label Action

cc @peterhuene, @saulecabrera

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

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 (Jan 30 2024 at 01:57):

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

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 (Jan 30 2024 at 03:41):

alexcrichton updated PR #7844.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 30 2024 at 12:18):

alexcrichton updated PR #7844.

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

fitzgen submitted PR review:

Nice!

view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2024 at 13:26):

alexcrichton updated PR #7844.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2024 at 13:26):

alexcrichton has enabled auto merge for PR #7844.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 02 2024 at 14:11):

alexcrichton merged PR #7844.


Last updated: Nov 22 2024 at 16:03 UTC