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

Don't spawn subprocess if codegen spec uses flags but not the prelude #14904

Merged

Conversation

HertzDevil
Copy link
Contributor

The run spec helper always spawns a subprocess if any compile-time flags are specified. In practice, the only specs using the flags parameter are the ones for -Dstrict_multi_assign and the obsolete ones for -Dpreview_overload in #7206, which all separately require the prelude anyway. (There is one outlier that is addressed in #14903.) This PR allows specs specifying flags but not requiring the prelude to use LLVM's JIT.

@straight-shoota
Copy link
Member

@HertzDevil CI is failing all over the place with segfaults.

@HertzDevil
Copy link
Contributor Author

Yeah this depends on #14903 since that originally failing spec isn't touched here

@straight-shoota straight-shoota marked this pull request as draft August 15, 2024 12:51
@straight-shoota straight-shoota added this to the 1.14.0 milestone Aug 15, 2024
@straight-shoota straight-shoota marked this pull request as ready for review August 15, 2024 17:14
@straight-shoota straight-shoota merged commit 7ee895f into crystal-lang:master Aug 16, 2024
65 checks passed
@HertzDevil HertzDevil deleted the spec/codegen-specs-flag branch September 8, 2024 15:02
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.

2 participants