forked from HEnquist/rubato
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rust only allows an empty match statement in code that will not be run, that is when matching something that is not inhabited. References to enums are always considered inhabited, because it may avoid some undefined behaviour in unsafe code. See rust-lang/rust#78123 The solution in this PR is to match the enum rather than the reference to the enum. I also added CI for wasm32-unknown-unknown to combat regression.
- Loading branch information
1 parent
2bf6a47
commit 9623e55
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters