Stream: git-wasmtime

Topic: wasmtime / issue #6119 winch: Initial integration with wa...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 29 2023 at 19:45):

github-actions[bot] commented on issue #6119:

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 (Mar 29 2023 at 19:45):

github-actions[bot] commented on issue #6119:

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 (Mar 30 2023 at 16:10):

jameysharp commented on issue #6119:

@saulecabrera, you have the necessary GitHub permissions to merge this, right?

view this post on Zulip Wasmtime GitHub notifications bot (Mar 30 2023 at 16:23):

saulecabrera commented on issue #6119:

Yes @jameysharp, I wasn't sure if you wanted to merge it yourself. But just did, thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Mar 30 2023 at 17:21):

jameysharp commented on issue #6119:

CI failed during the doc build job:

error[E0046]: not all trait items implemented, missing: `component_compiler`
  --> crates/winch/src/compiler.rs:43:1

Also I've learned that changing the build.rs definition of cfg(compiler) isn't enough: Many of the places in the wasmtime crate that use the #[cfg(compiler)] attribute also have a #[cfg_attr(nightlydoc, doc(cfg(feature = "cranelift")))] attribute which needs to be updated now.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 30 2023 at 18:20):

KevinRizzoTO commented on issue #6119:

@jameysharp So me and @saulecabrera tried to fix this but we are not quite sure where the doc features get added :thinking: On the winch compiler we copied the Cranelift approach to gate the component_compiler method with the component_model feature. We've tried updating the package.metadata.docs.rs features in the wasmtime/Cargo.toml file, but this doesn't seem to fix anything locally.

The one thing that worked was updating the command that is run by Github actions to include the winch feature. But I'm not sure if this is the approach we want to take here.

Also, good call about the doc attribute, I can add those for winch as well.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 04 2023 at 18:55):

saulecabrera commented on issue #6119:

The docs fix worked -- there was another failure regarding the order of crates in publish.rs: the relationship between wasmtime-winch and winch-environ was not correct. I've addressed that in https://github.com/bytecodealliance/wasmtime/pull/6119/commits/7d83eec78e18bc73435b61ebbd519bf8728a2f8e

view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2023 at 00:12):

saulecabrera commented on issue #6119:

Just one minor (hopefully final) change in https://github.com/bytecodealliance/wasmtime/pull/6119/commits/f307452a581cc02896f2e492621bf90457dc5f2c to only run tests winch tests when in unix and x86_64, since there's no support for the fastcall calling convention yet.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2023 at 00:12):

saulecabrera edited a comment on issue #6119:

Just one minor (hopefully final) change in https://github.com/bytecodealliance/wasmtime/pull/6119/commits/f307452a581cc02896f2e492621bf90457dc5f2c to only run winch tests when in unix and x86_64, since there's no support for the fastcall calling convention yet.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 05 2023 at 16:09):

KevinRizzoTO commented on issue #6119:

@saulecabrera thank you for getting this over the line!


Last updated: Nov 22 2024 at 16:03 UTC