Skip to content

Enable exceptions deployment #686

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

Merged

Conversation

mcbarton
Copy link
Collaborator

Description

Please include a summary of changes, motivation and context for this PR.

CppInterOps xeus-cpp deployment doesn't have exception handling working due to this patch being missing from the llvm build. This patch was taken from Emscripten forge here https://github.com/emscripten-forge/recipes/blob/main/recipes/recipes_emscripten/llvm/patches/enable_exception_handling.patch . I have tested this patch locally to check it fixes the deployment.

Fixes # (issue)

Type of change

Please tick all options which are relevant.

  • Bug fix
  • New feature
  • Requires documentation updates

Testing

Please describe the test(s) that you added and ran to verify your changes.

Checklist

  • I have read the contribution guide recently

@mcbarton mcbarton force-pushed the enable-exceptions-deployment branch from 3bcb086 to b2cd52a Compare July 23, 2025 20:55
@mcbarton mcbarton linked an issue Jul 23, 2025 that may be closed by this pull request
Copy link

codecov bot commented Jul 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.57%. Comparing base (e3c6373) to head (10a44de).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #686   +/-   ##
=======================================
  Coverage   79.57%   79.57%           
=======================================
  Files           9        9           
  Lines        3921     3921           
=======================================
  Hits         3120     3120           
  Misses        801      801           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mcbarton
Copy link
Collaborator Author

To enable exception handling in the deployment on main, the emscripten cache would need to be deleted before this PR gets merged in.

@mcbarton
Copy link
Collaborator Author

@anutosh491 pinging for your review on this. Should be very quick to review, since you wrote the patch that this PR uses, and is already being made use of in Emscripten forge

Copy link
Collaborator

@anutosh491 anutosh491 left a comment

Choose a reason for hiding this comment

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

It's okay if it lives here right now ( I need to find some time to finish my pr with the patch upstream. Shall do this soon. )

@mcbarton mcbarton merged commit b6a1c08 into compiler-research:main Jul 31, 2025
41 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.

[Bug]: Fixing exceptions in xeus-cpp deployment
2 participants