Skip to content

[cpptrace] add wasm support#52674

Merged
BillyONeal merged 5 commits into
microsoft:masterfrom
nickdademo:cpptrace_wasm
Jul 2, 2026
Merged

[cpptrace] add wasm support#52674
BillyONeal merged 5 commits into
microsoft:masterfrom
nickdademo:cpptrace_wasm

Conversation

@nickdademo

@nickdademo nickdademo commented Jul 1, 2026

Copy link
Copy Markdown
Contributor
  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version, or no changes were necessary.
  • Any fixed CI baseline and CI feature baseline entries are removed from that file, or no entries needed to be changed.
  • All patch files in the port are applied and succeed.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Exactly one version is added in each modified versions file.

@nickdademo

Copy link
Copy Markdown
Contributor Author

I have opened a PR upstream a few weeks ago for the patch in this port: jeremy-rifkin/cpptrace#329
I will again update this port (remove the patch) when that merges :)

#undef IS_WINDOWS
#define IS_WINDOWS 1
-#elif defined(__linux)
+#elif defined(__linux) || defined(__EMSCRIPTEN__)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ooh, why does upstream use __linux and not __linux__?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hrmm, not sure. Shall we patch here?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

no need, I have already verified through the clang source code that emscripten does not define linux

@BillyONeal BillyONeal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems reasonable, thank you!

@BillyONeal BillyONeal merged commit f00343a into microsoft:master Jul 2, 2026
16 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.

4 participants