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

c_string removal fixes #26568

Merged
merged 2 commits into from
Jan 18, 2025
Merged

Conversation

DanilaFe
Copy link
Contributor

@DanilaFe DanilaFe commented Jan 18, 2025

These have been causing nightly failures in some corner cases. I had to use extern blocks to use strings with minimal modules (which requires LLVM), and I neglected CStringLiteral in CLS because it didn't show up as a (C++) use of the now-removed AST node.

Reviewed by @jabraham17 -- thanks!

Testing

  • make test-cls
  • the tests are now skipped under LLVM=none

C string literals have been removed from Dyno.

Signed-off-by: Danila Fedorin <[email protected]>
@DanilaFe DanilaFe requested a review from jabraham17 January 18, 2025 00:06
@@ -4,3 +4,4 @@ CHPL_COMM != none
COMPOPTS <= --no-local
CHPL_LOCALE_MODEL != flat
EXECOPTS <= memLeaks
CHPL_LLVM == none
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we document --minimal-modules anywhere, I think you should note this limitation there. If we don't, then no need and ignore this comment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not aware of such docs.

@DanilaFe DanilaFe merged commit 6c60dd1 into chapel-lang:main Jan 18, 2025
9 checks passed
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

Successfully merging this pull request may close these issues.

2 participants