-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Old] Fix pthread worker options usage with Vite bundler #22834
Closed
jamsinclair
wants to merge
17
commits into
emscripten-core:main
from
jamsinclair:fix_vite_pthread_issue
Closed
Changes from 4 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
94b0ba9
Use literal values for worker options in JS files
jamsinclair f66cd42
[test] Update worker options to match literal changes
jamsinclair 8afd55f
fix indentation
jamsinclair 3feb7dd
fix formatting
jamsinclair dd7cf1a
Use simpler macro at top of js file
jamsinclair 400c2f3
Refactor to manually define options per worker instantiation
jamsinclair cb89c07
fix indentation
jamsinclair 4cf4af7
Add additional check before setting VITE_IGNORE_COMMENT
jamsinclair 6654643
remove use of vite ignore comment
jamsinclair 03af0cc
Merge remote-tracking branch 'origin/main' into fix_vite_pthread_issue
jamsinclair a7093d0
try multiline string?
jamsinclair 6c68ed0
use regex to assert on worker options
jamsinclair 1d14278
try multiline again with correct values
jamsinclair c0cac18
remove node specific worker options for single file
jamsinclair 063dc81
debug: remove limit size restrictions for output file
jamsinclair c81b364
try with dynamic name field
jamsinclair 0b0da14
revert debugging changes
jamsinclair File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I simpler way to do this would be to define a new macro here at the top of this file. e.g.
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.
Thank you so much! I wasn't too sure how the templating works in these files 😅 . I'll update the PR with this approach when I get a chance.