Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Oct 16, 2024

  • Use emscripten_out helper instead of EM_ASM(out(...)).
  • Remove tabs
  • Curly braces on the same line as keyword
  • Parameterize one test

@sbc100 sbc100 requested a review from kripken October 16, 2024 00:27
@sbc100 sbc100 enabled auto-merge (squash) October 16, 2024 18:15
- Use `emscripten_out` helper instead of EM_ASM(out(...)).
- Remove tabs
- Curly braces on the same line as keyword
- Parameterize one test
@sbc100 sbc100 merged commit f13cfcf into emscripten-core:main Oct 16, 2024
28 checks passed
@sbc100 sbc100 deleted the wasm_worker_test branch October 16, 2024 20:32
#include <stdlib.h>

#define THREAD_STACK_SIZE 1024
#define THREAD_STACK_SIZE 2048
Copy link
Member

Choose a reason for hiding this comment

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

Stack size change because of emscripten_outf?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yup, essentially printf. The exact side of the stack in this test is not super important though I think. I just designed to ensure that stack start/end match our expectations.

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.

2 participants