Stream: git-wasmtime

Topic: wasmtime / PR #10911 Change compilation settings for ASAN...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 03 2025 at 15:49):

alexcrichton opened PR #10911 from alexcrichton:update-asan-doc-test-settings to bytecodealliance:main:

It appears that rustdoc tests do not inherit profile settings nor default codegen unit settings. This means that an ASAN build of doc tests would use 1 CGU with no optimizations. Locally this balooned the doc tests for wasmtime-wasi to a whopping 16G of memory in one process locally. This was found in the wasip3-prototyping repository where more doc tests were added.

This commit, for ASAN builds, updates the opt-level and codegen-units settings used for rustdoc. This gets the LLVM memory usage under control to avoid OOM-ing the github actions runner we're running on.

<!--
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 (Jun 03 2025 at 15:49):

alexcrichton requested wasmtime-default-reviewers for a review on PR #10911.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 03 2025 at 15:49):

alexcrichton requested pchickey for a review on PR #10911.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 03 2025 at 16:55):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 03 2025 at 17:22):

pchickey merged PR #10911.


Last updated: Dec 06 2025 at 07:03 UTC