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

Pass the command line to cl.exe through a file #9062

Merged
merged 2 commits into from
Apr 15, 2020

Conversation

oprypin
Copy link
Member

@oprypin oprypin commented Apr 13, 2020

This is necessary because large projects (like the Crystal compiler) surpass the maximal size for the command line when linking the numerous object files.

This PR also makes Crystal actually be able to run the linker subprocess on Windows, as it replaces the unsupported combination of args and shell: true.

This PR is technically independent from #9043, but clearly some shell-escaping would be very helpful here.

This is necessary because large projects (like the Crystal compiler) surpass the maximal size for the command line when linking the numerous object files.

This commit also makes Crystal actually be able to run the linker subprocess, as it removes the unsupported combination of `args` and `shell: true`.
@RX14 RX14 added this to the 0.35.0 milestone Apr 15, 2020
@RX14 RX14 merged commit c5dffc0 into crystal-lang:master Apr 15, 2020
carlhoerberg pushed a commit to carlhoerberg/crystal that referenced this pull request Apr 29, 2020
This is necessary because large projects (like the Crystal compiler) surpass the maximal size for the command line when linking the numerous object files.

This commit also makes Crystal actually be able to run the linker subprocess, as it removes the unsupported combination of `args` and `shell: true`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants