Skip to content

Commit d1e16cb

Browse files
committed
Prepare for a breaking change in the Rust compiler.
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.
1 parent 8b73cbd commit d1e16cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rs-matter/src/transport/network.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub use embassy_net_stack::*;
6464

6565
#[cfg(feature = "std")]
6666
pub mod std_stack {
67-
pub trait NetworkStackDriver {}
67+
pub trait NetworkStackDriver: 'static {}
6868

6969
impl NetworkStackDriver for () {}
7070

0 commit comments

Comments
 (0)