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

prevents the jsonscript command from exceeding the maximum length of a command line during linking #21186

Merged
merged 1 commit into from
Dec 28, 2022

Conversation

rockcavera
Copy link
Contributor

The jsonscript command is used during the Nim compiler build process from koch boot. However, executing the command line for linking does not take the same care as linking the build with nim c, which detects command line higher than the platform's maximum (of course I'm talking about Windows) and passes the arguments through a @file.txt.

With this PR, the jsonscript command will use the same trick as nim c.

If accepted, I believe it should be used in csources_v2 and also backport 2.0

@Araq Araq added the merge_when_passes_CI mergeable once green label Dec 27, 2022
@rockcavera rockcavera closed this Dec 27, 2022
@rockcavera rockcavera reopened this Dec 27, 2022
@ringabout ringabout merged commit 9efa56a into nim-lang:devel Dec 28, 2022
@github-actions
Copy link
Contributor

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from 9efa56a

Hint: mm: orc; opt: speed; options: -d:release
165577 lines; 8.237s; 610.914MiB peakmem

ringabout pushed a commit that referenced this pull request Dec 28, 2022
ringabout added a commit that referenced this pull request Dec 28, 2022
…a command line during linking (#21188)

[backport: 2.0] prevents the jsonscript command from exceeding the maximum length of a command line during linking (#21186)

Co-authored-by: rockcavera <rockcavera@gmail.com>
ringabout added a commit that referenced this pull request Jan 2, 2023
> If accepted, I believe it should be used in csources_v2 and also backport 2.0

ref #21186
ringabout added a commit that referenced this pull request Jan 2, 2023
…21216)

> If accepted, I believe it should be used in csources_v2 and also backport 2.0

ref #21186
ringabout added a commit that referenced this pull request Jan 3, 2023
…21216)

> If accepted, I believe it should be used in csources_v2 and also backport 2.0

ref #21186
ringabout added a commit that referenced this pull request Jan 3, 2023
…21219)

* bump csource_v2 to include fix for linking parameter maximum length (#21216)

> If accepted, I believe it should be used in csources_v2 and also backport 2.0

ref #21186

* fixes #21207; reports redefinition error in the definition of enums (#21217)

* fixes #21207;  reports redefinition in the enums

* add a test
survivorm pushed a commit to survivorm/Nim that referenced this pull request Feb 28, 2023
survivorm pushed a commit to survivorm/Nim that referenced this pull request Feb 28, 2023
…im-lang#21216)

> If accepted, I believe it should be used in csources_v2 and also backport 2.0

ref nim-lang#21186
capocasa pushed a commit to capocasa/Nim that referenced this pull request Mar 31, 2023
capocasa pushed a commit to capocasa/Nim that referenced this pull request Mar 31, 2023
…im-lang#21216)

> If accepted, I believe it should be used in csources_v2 and also backport 2.0

ref nim-lang#21186
bung87 pushed a commit to bung87/Nim that referenced this pull request Jul 29, 2023
bung87 pushed a commit to bung87/Nim that referenced this pull request Jul 29, 2023
…im-lang#21216)

> If accepted, I believe it should be used in csources_v2 and also backport 2.0

ref nim-lang#21186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge_when_passes_CI mergeable once green
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants