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

Gracefully handle super-long linker command lines #253

Closed
Flakebi opened this issue Oct 13, 2017 · 2 comments
Closed

Gracefully handle super-long linker command lines #253

Flakebi opened this issue Oct 13, 2017 · 2 comments

Comments

@Flakebi
Copy link

Flakebi commented Oct 13, 2017

This seems to the the same issue as rust-lang/rust#41190, just for this crate instead of rustc.
The linker fails if the command line is too long (32767 characters on windows).

Splitting a library into multiple libraries is currently a workaround.

@alexcrichton
Copy link
Member

Seems plausible to me!

@alexcrichton
Copy link
Member

I'm going to close this for now since I don't think it's really come up in practice all that much and splitting into multiple libraries should work for the rare cases it does come up.

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

2 participants