Stream: git-wasmtime

Topic: wasmtime / PR #15149 Don't embed `$OUT_DIR` in proc macros


view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 18:49):

alexcrichton opened PR #15149 from alexcrichton:refactor-macro to bytecodealliance:main:

This is the equivalent of bytecodealliance/wit-bindgen#1778 over here in the Wasmtime repository. In short by embedding $OUT_DIR in the proc macro it makes the build unreproducible and can reduce cache hits in larger build systems. Keep Wasmtime's debugging-only feature in parity with wit-bindgen's feature here by shuffling around how this works.

This additionally deletes the include_generated_code_from_file macro option as that's basically subsumed by debug which is a bit of a clearer name.

<!--
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 review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.md

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 (Nov 04 2026 at 18:49):

alexcrichton removed the review request for wasmtime-core-reviewers from PR #15149.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 18:49):

alexcrichton requested pchickey for a review on PR #15149.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 18:49):

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

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 18:50):

:thumbs_up: pchickey submitted PR review:

Excellent stuff

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 18:52):

alexcrichton has enabled auto merge for PR #15149.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 18:59):

alexcrichton added PR #15149 Don't embed $OUT_DIR in proc macros to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 19:23):

:check: alexcrichton merged PR #15149.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 04 2026 at 19:23):

alexcrichton removed PR #15149 Don't embed $OUT_DIR in proc macros from the merge queue.


Last updated: Nov 19 2026 at 20:05 UTC