3 ms·
Fortunately the rust inside Linux doesn't use cargo and uses the normal kernel build system.
by cozzyd 2y ago
Fortunately the rust inside Linux doesn't use cargo and uses the normal kernel build system.
- AlotOfReading 2y agokbuild 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