project-chip / rs-matter

Rust implementation of the Matter protocol. Status: Experimental
Apache License 2.0
310 stars 43 forks source link

Prepare for a breaking change in the Rust compiler. #98

Closed oli-obk closed 11 months ago

oli-obk commented 11 months ago

The soundness fix in rust-lang/rust#115008 will cause rs-matter 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.

CLAassistant commented 11 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

oli-obk commented 11 months ago

The change is trivial enough (and proposed by the Rust compiler, not actually written by me). It is not complex enough to need a license, so if you want you can just copy this code yourself without a license.

ivmarkov commented 11 months ago

@kedars We can close this one now that #99 is merged.