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

"Argument list too long" with many files on Windows #292

Closed
SimonSapin opened this issue Mar 3, 2018 · 1 comment
Closed

"Argument list too long" with many files on Windows #292

SimonSapin opened this issue Mar 3, 2018 · 1 comment

Comments

@SimonSapin
Copy link
Contributor

https://github.com/servo/mozangle/tree/ee3f46cc4e6a990634d3cab4d49d1ebfdb785d22 uses the cc crate, and cargo test works on both Linux and Windows for me.

When adding --features egl however, compilation fails on Windows with the error below. This feature is Windows-only, but as far as the cc crate is concerned it mostly adds a bunch more source files.

Internal error occurred: Command "C:\[…]\lib.exe" [many arguments…] with args "lib.exe" failed to start.

When I copy/paste the command into a shell, the output is:

Argument list too long

Could this crate do something like rust-lang/rust#47507 ?

@SimonSapin
Copy link
Contributor Author

I could compile with #293.

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