-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support for multiple input source files #3
Comments
Just hit a case where I need this. Plz fix! |
I kinda wanna be able to concisely describe the crate graph with a single CLI flag. Once we have >2 crates, there are a multiple possibilities, most of which are reasonable -- there wouldn't be a reasonable default. Of course, instead of that (or as a MVP) we could just make "everything to the left" a dependency to "everything to the right": So for |
Hmm, maybe the MVP should just be |
Scrap the For Other examples for |
The MVP should only support the normal build mode, i.e., exclude cross-crate |
TODO: Extend the µDSL to support specifying crate types (important for modeling proc-macro deps and generally, too). Probably sth. like |
Ah, regarding the µDSL I should clarify that
|
If multiple input source files are passed, we should do something very similar to
cargo doc
, i.e., “runningrustc
N-1 times andrustdoc
N times” given N input files.Figure out what
-x
/--cross-crate
means if multiple files are passed. Probably reject.We should have more “dev-y” configuration options available like passing
--cfg doc
to dependency crates (which is what Cargo doesn't do at the moment, CC rust-lang/rust#114952) or not runningrustc
at all (I don't know if that's useful, maybe for debugging cross-crate stuff; basically N input files => Nrustdoc
executions (modulocompiletest
revisions, lol)).The text was updated successfully, but these errors were encountered: