diondokter / device-driver

A toolkit to create better Rust device drivers, faster
https://diondokter.github.io/device-driver/
Apache License 2.0
114 stars 5 forks source link

Make all `R` and `W` field functions const #9

Closed diondokter closed 3 years ago

diondokter commented 3 years ago

I think this is possible with a newer bitvec version. Hopefully the compiler will then be smart enough to always inline as much as possible

diondokter commented 3 years ago

It turns out it's not yet possible. I read something wrong a while ago.

Still interested in this feature, but since it's not possible I will close it.