Comment by phire
2 days ago
No it doesn't. I checked and kbuild calls rustc directly.
The only results for cargo in entire the linux source tree is documentation suggesting you install bindgen via cargo install.... Plus a bunch of comments referencing "cargo-cult programming"
You checked with grep or something more?
https://github.com/search?q=repo%3Atorvalds%2Flinux%20cargo&...
And you can see under samples/rust that only a kbuild-style Makefile is provided: https://github.com/torvalds/linux/tree/master/samples/rust