jameysharp opened PR #6278 from jameysharp:no-magic-drop
to bytecodealliance:main
:
The
Config
needs to be mutable while building a compiler, but in a build configuration without a compiler, declaring it asmut
produces a warning since nothing else needs that.I found the existing workaround for this warning confusing, so this PR removes
mut
from the binding forconfig
and instead re-binds the variable in builds where we callbuild_compiler
.<!--
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
-->
jameysharp requested fitzgen for a review on PR #6278.
jameysharp requested wasmtime-core-reviewers for a review on PR #6278.
fitzgen submitted PR review.
alexcrichton merged PR #6278.
Last updated: Nov 22 2024 at 17:03 UTC