Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple input source files #3

Open
fmease opened this issue Jan 28, 2024 · 1 comment
Open

Support for multiple input source files #3

fmease opened this issue Jan 28, 2024 · 1 comment
Assignees

Comments

@fmease
Copy link
Owner

fmease commented Jan 28, 2024

If multiple input source files are passed, we should do something very similar to cargo doc, i.e., “running rustc N-1 times and rustdoc 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 running rustc at all (I don't know if that's useful, maybe for debugging cross-crate stuff; basically N input files => N rustdoc executions (modulo compiletest revisions, lol)).

@fmease fmease self-assigned this Jan 28, 2024
@fmease
Copy link
Owner Author

fmease commented Aug 7, 2024

Just hit a case where I need this. Plz fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant