trussed-dev / trussed

Modern Cryptographic Firmware
https://trussed.dev
Apache License 2.0
413 stars 26 forks source link

Add compile-time check that request ids are distinct #110

Closed sosthene-nitrokey closed 1 year ago

sosthene-nitrokey commented 1 year ago

If two requests are given the same u8 id, this will cause a compile failure