latchset / kryoptic

a pkcs#11 software token written in Rust
GNU General Public License v3.0
10 stars 4 forks source link

Fix expressions rust 1.77 version does not like #25

Closed simo5 closed 6 months ago

simo5 commented 6 months ago

1.77 is being a little stricter with some of the shenanigangs going on to deal with bindgen declaring many interfaces as mut.

Eventually the best solution will probably to add filters in bindgen to declare some of the interfaces as thaking *const pointers rather than mut, but in the interim make the compiler happy as best we can.