-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Accept args via stdin/file (WAS: Too many dependencies leads to excessively long command that fails) #1241
Comments
Possible solution: |
If we make everything a relative path it looks like it cuts it down to 29808 characters, but I agree that the best way to proceed here is to allow reading options from a file or stdin most likely, this is bound to come up again! |
…or maybe environment variables? |
Hello ! Is this still an issue ? |
@cyplo Yes. Cargo still passes arguments directly to rustc and there's no way for rustc to read options from a file or stdin yet. |
@weihanglo do you think #10546 fixed this as well? |
I believe it was resolved in #10546. Closing. |
Using my 420 dependency crate, in an attempt to generate docs for all of winapi at once.
This is probably very difficult to fix.
There is a limit on the length of the args in
CreateProcess
to 32,767 characters. The command being executed here is over 40 thousand characters.The text was updated successfully, but these errors were encountered: