How will fixing only C part work with the "do not break user space" policy?
How will fixing only C part work with the "do not break user space" policy?
Posted Jun 22, 2024 12:33 UTC (Sat) by pbonzini (subscriber, #60935)In reply to: How will fixing only C part work with the "do not break user space" policy? by gray_-_wolf
Parent article: Rust for filesystems
1) APIs are changed in backwards-incompatible ways (e.g. https://www.spinics.net/lists/intel-gfx/msg349025.html) but they're generally not complicated and you handle them with topic branches as usual.
2) new APIs are introduced but updating 50 filesystems (or hundreds of anonymous file_operations) does not happen at ones, therefore in practice fallbacks are left in place and Rust bindings can be updated separately. The typical example here is read_iter/write_iter.
3) most subsystems that have Rust bindings will have no problem adjusting, at which point who's left will have to acknowledge the reality.