Skip to content

Commit

Permalink
add #![allow(unreachable_patterns)] - temporary workaround for Rust c…
Browse files Browse the repository at this point in the history
…ompiler issue
  • Loading branch information
brodycj committed Sep 13, 2024
1 parent bd54bf7 commit ee46998
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,10 @@
#![cfg_attr(not(feature = "std"), no_std)]

// NOTE: This is a temporary workaround for Rust compiler issue:
// - https://github.com/rust-lang/rust/issues/129031
#![allow(unreachable_patterns)]

#[cfg(feature = "alloc")]
extern crate alloc;

Expand Down

0 comments on commit ee46998

Please sign in to comment.