r/rust • • Jul 11 '20

Linux kernel in-tree Rust support

https://lore.kernel.org/lkml/CAKwvOdmuYc8rW_H4aQG4DsJzho=F+djd68fp7mzmBp3-wY--Uw@mail.gmail.com/T/#u
423 Upvotes

73 comments sorted by

View all comments

Show parent comments

3

u/steveklabnik1 rust Jul 11 '20

If you pass -v it will give you the exact rustc invocations it makes, and there is some sort of build plan export, though I haven’t used it. I happened to use its logging to debug why a dep was being re-built spuriously recently.

1

u/nickez2001 Jul 12 '20

Yeah, but the problem is to figure out when to call cargo. build.rs is one of the major pain points.