-
Notifications
You must be signed in to change notification settings - Fork 7
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
Improve invocation #1
Comments
I think I've misunderstood. I see there's a parse_and_inline_modules. If I point it to main.rs or lib.rs it should drag everything else in. Will try that. |
That works, though a little fiddly the copy pasting of rustc command line and adding in the $1 arg. That would make it childs play to run. One could still provide an arg for a shell script to run if people wanted to run more than cargo check/regex. |
(Easy setup is important as when the test1.sh isn't quite pointing to the right file it deletes everything). |
I think you always need some kind of shell script as you need to somehow determine whether a particular compiler run is "interesting" or not. Inserting a shell script means the user can write arbitrary an arbitrary script to determine interestingness. I'm open to ideas on this. |
Any objections to a PR that walkdir to find .rs files in a crate's subdirs and then reduces them?
Looking to use this as a way to reduce an ICE found in rustc to a minimal reproduction.
The text was updated successfully, but these errors were encountered: