Skip to content

[0.40.0] Fix CI for Rust 1.63.0#4695

Merged
alexcrichton merged 1 commit intobytecodealliance:release-0.40.0from
alexcrichton:fix-ci
Aug 11, 2022
Merged

[0.40.0] Fix CI for Rust 1.63.0#4695
alexcrichton merged 1 commit intobytecodealliance:release-0.40.0from
alexcrichton:fix-ci

Conversation

@alexcrichton
Copy link
Member

This is a backport of c1c48b4 to ensure that the 0.40.0 release CI will be able to progress in a week or so.

)

This commit fixes a build warning on Rust 1.63 when the `memory-init-cow`
feature is disabled in the `wasmtime-runtime` crate. Some "tricks" were
used prior to have the `MemoryImage` type be an empty `enum {}` but that
wreaks havoc with warnings so this commit instead just makes it a unit
struct and makes all methods panic (as they shouldn't be hit anyway).
@alexcrichton alexcrichton merged commit 624d90d into bytecodealliance:release-0.40.0 Aug 11, 2022
@alexcrichton alexcrichton deleted the fix-ci branch August 11, 2022 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants