-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[browser] fix emscripten out/err overrides #100630
[browser] fix emscripten out/err overrides #100630
Conversation
Tagging subscribers to 'arch-wasm': @lewing |
We should have a test for this |
/backport to release/8.0 |
Started backporting to release/8.0: https://github.com/dotnet/runtime/actions/runs/8616454583 |
@pavelsavara backporting to release/8.0 failed, the patch most likely resulted in conflicts: $ git am --3way --ignore-whitespace --keep-non-patch changes.patch
Applying: fix emscripten out/err overrides
Using index info to reconstruct a base tree...
A src/mono/browser/runtime/loader/assets.ts
A src/mono/browser/runtime/loader/icu.ts
A src/mono/browser/runtime/loader/run.ts
A src/mono/browser/runtime/startup.ts
A src/mono/browser/runtime/types/internal.ts
M src/mono/sample/wasm/browser-advanced/main.js
Falling back to patching base and 3-way merge...
Auto-merging src/mono/wasm/runtime/types/internal.ts
CONFLICT (content): Merge conflict in src/mono/wasm/runtime/types/internal.ts
Auto-merging src/mono/wasm/runtime/startup.ts
CONFLICT (content): Merge conflict in src/mono/wasm/runtime/startup.ts
Auto-merging src/mono/wasm/runtime/loader/run.ts
Auto-merging src/mono/wasm/runtime/loader/icu.ts
Auto-merging src/mono/wasm/runtime/loader/assets.ts
Auto-merging src/mono/sample/wasm/browser-advanced/main.js
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 fix emscripten out/err overrides
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128 Please backport manually! |
@pavelsavara an error occurred while backporting to release/8.0, please check the run log for details! Error: git am failed, most likely due to a merge conflict. |
* backport of #100630 * fix * fix
Emscripten changed the way how they export
Module.out
/Module.err
but they still need to be overridden viaModule.print
andModule.printErr
Contributes to #100591