Skip to content

Commit

Permalink
Prepare for a breaking change in the Rust compiler.
Browse files Browse the repository at this point in the history
The soundness fix in rust-lang/rust#115008 will cause axum-starter to break, even though it is not unsound. The missing bound is very hard to abuse, but still a soundness hole in our type system.

It will likely take 12 weeks before a stable compiler with the soundness fix is shipped.
  • Loading branch information
oli-obk committed Sep 21, 2023
1 parent 8b73cbd commit d1e16cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rs-matter/src/transport/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub use embassy_net_stack::*;

#[cfg(feature = "std")]
pub mod std_stack {
pub trait NetworkStackDriver {}
pub trait NetworkStackDriver: 'static {}

impl NetworkStackDriver for () {}

Expand Down

0 comments on commit d1e16cb

Please sign in to comment.