Stream: git-wasmtime

Topic: wasmtime / PR #9036 Add a more first-class error for Wasm...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 29 2024 at 15:01):

alexcrichton opened PR #9036 from alexcrichton:fail-on-i686 to bytecodealliance:main:

This commit adds a more first-class error in the build script for the wasmtime crate to indicate that 32-bit platforms are not supported. While there is a compile_error! with somewhat similar information it is not too helpful because the compiler keeps compiling things after the compile_error! is reached meaning that the absence of a sys module cascades to many other compile errors as well. This presents a more readable error with links to github issues in a way that halts the build and should prevent unsupported crates from being built.

<!--
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 (Jul 29 2024 at 15:01):

alexcrichton requested fitzgen for a review on PR #9036.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 29 2024 at 15:01):

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

view this post on Zulip Wasmtime GitHub notifications bot (Jul 29 2024 at 16:16):

fitzgen submitted PR review:

:+1:

view this post on Zulip Wasmtime GitHub notifications bot (Jul 29 2024 at 19:05):

alexcrichton closed without merge PR #9036.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 29 2024 at 19:05):

alexcrichton commented on PR #9036:

Given the error in CI I've decided on a different approach in https://github.com/bytecodealliance/wasmtime/pull/9039


Last updated: Nov 22 2024 at 16:03 UTC