Stream: git-wasmtime

Topic: wasmtime / PR #6551 cranelift-codegen: add feature to exp...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 09 2023 at 17:54):

eduardosm opened PR #6551 from eduardosm:explicit-host-isa to bytecodealliance:main:

It is needed because cargo features are additive. Given a situation where you have two dependencies:

Given the additive property of features, cranelift-codegen will be built with the aarch64 feature for both dependencies (assuming they use the same cranelift version), so the native ISA will not be included (unless it is aarch64).

With the host-arch feature added here, the native host ISA can now be explicitly requested without risk of another crate of the dependency tree disabling it.

The native ISA is still enabled when none is explicitly enabled, although I think that this behaviour should be deprecated.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 09 2023 at 17:54):

eduardosm requested elliottt for a review on PR #6551.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 09 2023 at 17:54):

eduardosm requested wasmtime-compiler-reviewers for a review on PR #6551.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 12 2023 at 16:27):

elliottt submitted PR review:

This makes sense to me, thanks for the great explanation!

view this post on Zulip Wasmtime GitHub notifications bot (Jun 12 2023 at 17:57):

eduardosm updated PR #6551.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 21 2023 at 15:28):

alexcrichton merged PR #6551.


Last updated: Nov 22 2024 at 17:03 UTC