(no title)
AndrewGaspar | 1 year ago
The actual issue here is that this "simple driver in Rust" is having to touch those direct C bindings at all - if Microsoft is going to advertise that they have support for writing drivers in Rust, that should presumably mean an API surface that's native to the language.
dwattttt|1 year ago
That way functions can be marked as accurate/"ok" to call in safe code by the author of the bindings. They could absolutely not be safe; in that case, the binding author is in error marking it so.
taurknaut|1 year ago
It reads pretty naturally to me as referring to the implementation of the driver.
queuebert|1 year ago
haileys|1 year ago
There's a lot more complexity in writing FFI code - you have to think very carefully about everything you do. Case convention is a triviality here.