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

Support of the WASM build #474

Merged
merged 3 commits into from
Nov 29, 2024
Merged

Support of the WASM build #474

merged 3 commits into from
Nov 29, 2024

Conversation

vhavlena
Copy link
Collaborator

No description provided.

@vhavlena vhavlena changed the title Support of WASM build Support of the WASM build Nov 28, 2024
Copy link

codecov bot commented Nov 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.82%. Comparing base (a45f104) to head (1904e03).
Report is 16 commits behind head on devel.

Additional details and impacted files
@@            Coverage Diff             @@
##            devel     #474      +/-   ##
==========================================
+ Coverage   73.67%   73.82%   +0.14%     
==========================================
  Files          30       30              
  Lines        4251     4279      +28     
  Branches      968      975       +7     
==========================================
+ Hits         3132     3159      +27     
- Misses        771      772       +1     
  Partials      348      348              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vhavlena vhavlena marked this pull request as ready for review November 29, 2024 08:16
@vhavlena vhavlena requested review from jurajsic and Adda0 November 29, 2024 08:16
@@ -108,7 +108,7 @@ public:
}

if (elem)
--elem->counter_;
--elem->refcount_;
Copy link
Member

Choose a reason for hiding this comment

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

This seems like quite random fix, how did you find this bug?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It simply does not compile. Maybe it has something to do with the emscripten that is used for the build (but the counter_ is indeed not present there, it is a real error).

Copy link
Member

Choose a reason for hiding this comment

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

Really weird, maybe the function is never used, so the compiler removes it? But it should still not compile normally, weird.

Copy link
Collaborator

@Adda0 Adda0 left a comment

Choose a reason for hiding this comment

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

This is great. Thank you for investigating.

@Adda0 Adda0 merged commit 96a7bc2 into devel Nov 29, 2024
14 of 15 checks passed
@Adda0 Adda0 deleted the wasm-build branch November 29, 2024 09:09
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