Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

wasm wrapper: add DYNAMIC_EXECUTION=0 flag#984

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
AlexXiong-dev wants to merge1 commit intozxing-cpp:master
base:master
Choose a base branch
Loading
fromAlexXiong-dev:master

Conversation

@AlexXiong-dev
Copy link
Contributor

@AlexXiong-devAlexXiong-dev commentedAug 4, 2025
edited
Loading

To fix the CSP issue in discussions#977, need to add flag DYNAMIC_EXECUTION=0 when building the wasm binary.

Description:https://emscripten.org/docs/tools_reference/settings_reference.html#dynamic-execution

To fix CSP issue, need to add flag DYNAMIC_EXECUTION=0 during building the wasm binary.More details in discussionszxing-cpp#977
@AlexXiong-dev
Copy link
ContributorAuthor

Please check if this impacts the current functions. If it does not, please review and merge it. Thank you.

@axxel
Copy link
Collaborator

Looking at the documentation you provided, I have the following thoughts:

  • if that change strictly increases the usability, then we should surely apply it
  • since you seem to be able to run the code with that change, then none of the throwing functions are used
  • the document mentions a potential loss in performance, depending on how much this affects the library, this change would be unsuitable for the general use case
  • @Sec-ant what is your approach to this subject?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@AlexXiong-dev@axxel

[8]ページ先頭

©2009-2025 Movatter.jp