Skip to content

Conversation

anutosh491
Copy link
Collaborator

@anutosh491 anutosh491 commented Mar 3, 2025

Description

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

There was an update to xeus 5.2.0 and hence this is being raised. We now don't need to export runtime methods through xeus-cpp as they are already done through xeus

Type of change

Please tick all options which are relevant.

  • Bug fix
  • New feature
  • Added/removed dependencies
  • Required documentation updates

@@ -445,7 +445,6 @@ if(EMSCRIPTEN)
# TODO: Remove the exported runtime methods
# after the next xeus release.
target_link_options(xcpp
PUBLIC "SHELL: -s EXPORTED_RUNTIME_METHODS='[\"FS\",\"PATH\",\"LDSO\",\"loadDynamicLibrary\",\"ERRNO_CODES\"]'"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@anutosh491
Copy link
Collaborator Author

Only change required for lite.

For native cases, once this goes in

  1. Bump xeus to 5.2.0 conda-forge/xeus-feedstock#139
  2. I shall rebase Refactoring some utilities #153 and that should be it

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.72%. Comparing base (170f28c) to head (9fd6451).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #266      +/-   ##
==========================================
- Coverage   81.03%   80.72%   -0.31%     
==========================================
  Files          19       19              
  Lines         970      970              
  Branches       93       93              
==========================================
- Hits          786      783       -3     
- Misses        184      187       +3     

see 1 file with indirect coverage changes

see 1 file with indirect coverage changes

@mcbarton
Copy link
Collaborator

mcbarton commented Mar 3, 2025

@anutosh491 can you give this PR a better title and description? This PR appears to be less about bumping to 5.2.0, but more removing the redundant EXPORTED_RUNTIME_METHODS in xeus-cpp, given its now taken care of by xeus 5.2.0

@anutosh491
Copy link
Collaborator Author

Cool.

Yeah we aren't like "bumping" "bumping" but that's a by product of always fetching the latest xeus.

@anutosh491 anutosh491 changed the title Bump to xeus 5.2.0 Removing redundant EXPORTED_RUNTIME_METHODS for lite Mar 3, 2025
@mcbarton mcbarton merged commit 1c0b74f into compiler-research:main Mar 3, 2025
14 checks passed
@anutosh491 anutosh491 deleted the xeus-5.2.0 branch March 3, 2025 10:47
anutosh491 added a commit that referenced this pull request Mar 5, 2025
mcbarton pushed a commit that referenced this pull request Mar 5, 2025
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.

3 participants