-
Notifications
You must be signed in to change notification settings - Fork 38
Add Emscripten compat include paths to wasm kernel specs #409
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
Conversation
|
What's Happening here ? So on native builds, clang automatically discovers <xlocale.h> through the system SDK or libc include paths. How emcc does it This shows 3 paths As can be seen this is addressed through This PR adds the same (check right side of the img below as now we're able to search through
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #409 +/- ##
==========================================
- Coverage 82.05% 81.94% -0.11%
==========================================
Files 21 21
Lines 858 853 -5
Branches 89 87 -2
==========================================
- Hits 704 699 -5
Misses 154 154 🚀 New features to boost your workflow:
|
|
cc @mcbarton The same change would be needed in cppinterop to run the emscripten tests (cause Otherwise some tests would just fail through I just ran the cppinterop tests (after building both cppinterop and llvm against latest emsdk 4-x) and this is where I caught the above. |
|
clang-tidy review says "All clean, LGTM! 👍" |
Thanks the tip @anutosh491 . I will look into this. Did you run the llvm Emscripten tests to see if a change is needed to get them to still pass too? |
Not yet ! But we probably won't need any change there as this is the only real change I could spot. The llvm emscripten tests don't really process any "#Include" 's as such which means no include path searching change ! |
|
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
|
clang-tidy review says "All clean, LGTM! 👍" |
|
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
|
clang-tidy review says "All clean, LGTM! 👍" |
|
clang-tidy review says "All clean, LGTM! 👍" |
vgvassilev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
clang-tidy review says "All clean, LGTM! 👍" |
|
clang-tidy review says "All clean, LGTM! 👍" |


Description
Discovered this while moving to emscripten 4-x for xeus-cpp.
Problem : The following works for our native kernel but not our wasm kernel
Type of change
Please tick all options which are relevant.