alexcrichton opened PR #10785 from alexcrichton:update-msrv to bytecodealliance:main:
This makes us eligible to update to the 2024 Rust edition but I'm planning on deferring that to a separate follow-up change.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested abrown for a review on PR #10785.
alexcrichton requested wasmtime-default-reviewers for a review on PR #10785.
abrown submitted PR review:
:+1: but I guess there's a few extra warnings to handle now.
alexcrichton requested dicej for a review on PR #10785.
alexcrichton updated PR #10785.
alexcrichton requested wasmtime-core-reviewers for a review on PR #10785.
alexcrichton updated PR #10785.
alexcrichton updated PR #10785.
alexcrichton updated PR #10785.
alexcrichton updated PR #10785.
alexcrichton requested wasmtime-compiler-reviewers for a review on PR #10785.
alexcrichton requested cfallin for a review on PR #10785.
alexcrichton updated PR #10785.
alexcrichton created PR review comment:
Digging into this, it looks like LLVM sees in the assertion below
assert_eq!(cosf(x), cosf(x))and then LLVM has built-in knowledge thatcosfis pure so it's optimized out entirely. That means libm doesn't get linked at all, meaning laterdlsymcalls fail.Using
black_boxhere is apparently enough, but unsure how long it'll last necessarily.
alexcrichton submitted PR review.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
For future posterity this is roughly what I was looking at. Basically we just need to preserve the reference to the
cosfsymbol. (and if anyone knows of a better way to do that let's definitely land that instead!)
alexcrichton has enabled auto merge for PR #10785.
alexcrichton merged PR #10785.
Last updated: Dec 06 2025 at 06:05 UTC