3 ms·
kbuild just calls cargo under the hood.
by AlotOfReading 2y ago
kbuild just calls cargo under the hood.
- deleted 2y ago[deleted]
- phire 2y agoNo 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"
- kennysoona 2y agoYou checked with grep or something more?
- cozzyd 2y agohttps://github.com/search?q=repo%3Atorvalds%2Flinux%20cargo&type=code 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 https://github.com/torvalds/linux/tree/master/samples/rust
- pengaru 2y agonot enough reading