Skip to content

Conversation

kripken
Copy link
Member

@kripken kripken commented Jan 5, 2024

The intrinsics file changed in #6201 and somehow CMake doesn't automatically
update itself, and needs a manual step for people with existing checkouts (a new
fresh checkout always works). To avoid annoyance for existing checkouts, rename
the vars, which forces CMake to recompute the contents.

@kripken kripken requested a review from tlively January 5, 2024 23:29
@kripken kripken enabled auto-merge (squash) January 5, 2024 23:29
@kripken kripken requested a review from sbc100 January 6, 2024 00:03
@kripken kripken merged commit 436d639 into WebAssembly:main Jan 6, 2024
@kripken kripken deleted the rename.vars branch January 6, 2024 00:42

static const char theModule[@WASM_INTRINSICS_SIZE@] = {
@WASM_INTRINSICS_EMBED@
static const char theModule[@WASM_INTRINSICS_SIZE_2@] = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need the size here at all? Won't it be implicit?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we should be able to leave this out.

sbc100 added a commit that referenced this pull request Jan 6, 2024
I think this is a nicer/better way to do #6204.
sbc100 added a commit that referenced this pull request Jan 6, 2024
I think this is a nicer/better way to do #6204.
radekdoulik pushed a commit to dotnet/binaryen that referenced this pull request Jul 12, 2024
The intrinsics file changed in WebAssembly#6201 and somehow CMake doesn't automatically update itself, and needs a manual step for people with existing checkouts (a new fresh checkout always works). To avoid annoyance for existing checkouts, rename the vars, which forces CMake to recompute the contents.
radekdoulik pushed a commit to dotnet/binaryen that referenced this pull request Jul 12, 2024
@gkdn gkdn mentioned this pull request Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants