BitBoxSwiss / bitbox02-firmware

Firmware code of the BitBox02 hardware wallet
https://bitbox.swiss/bitbox02
Apache License 2.0
217 stars 81 forks source link

rust: update toolchain to 1.69.0 #1061

Closed benma closed 1 year ago

benma commented 1 year ago

Our own str_from_null_terminated could also be replaced with core::ffi::CStr::from_bytes_until_nul which was stabilized in this Rust release. See https://github.com/rust-lang/rust/blob/b92a41c6760801a7128ca0ec69ba4ba9c9194054/RELEASES.md#stabilized-apis.

Unfortunately with this release the firmware.bin comes out 1928 bytes larger.