Stream: git-wasmtime

Topic: wasmtime / PR #9372 Fix testing the cranelift-reader test...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2024 at 23:56):

alexcrichton requested abrown for a review on PR #9372.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2024 at 23:56):

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

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2024 at 23:56):

alexcrichton opened PR #9372 from alexcrichton:fix-testing-cranelift-reader-alone to bytecodealliance:main:

This PR is intended to help unblock #9178. That PR uncovered the consequence that testing the cranelift-reader crate alone does not work on non-x86_64 platforms. One of its tests relies on parsing the x86_64 target specification to work, and that only works if the x86 feature of the cranelift-codegen crate is enabled. This PR unconditionally enables this feature when testing.

This was uncovered on #9178 because the set of crates tested in each shard of our sharded builders depends on the set of crates in the workspace. When a new crate is added it may shuffle around which crates are tested in which location. Previously cranelift-reader must have been always tested with a crate that unconditionally enables cranelift-codegen/x86 as a feature, but #9178 got unlucky where it moved to a set that didn't include this, thus exposing the failure.

<!--
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 (Oct 03 2024 at 23:58):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2024 at 23:58):

cfallin has enabled auto merge for PR #9372.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 04 2024 at 00:23):

cfallin merged PR #9372.


Last updated: Nov 22 2024 at 17:03 UTC