I think Linux would be better off not supporting async feature of Rust.
It's not that it cannot be done but it will result long-term maintained code that is hard to reverse to opcodes at the CPU core just by looking at the snippet code.
This is exactly the gist of any possible kernel patch review..
I'm not disregard its usefulness in user space code but it could be even counter-productive tool in kernel code.
It's the added cost of time for kernel maintainers that weights here. Most (all) could cope with non async Rust from the perspective of what CPU does when it executes a specific peace of Rust code. Developer productivity is the most insignificant portion of kernel development cycle. I'm 100% sure that async is not existential feature, meaning that any possible feature could not be implemented without it.
#rust #linux #kernel