Commit d6d3b16
authored
Mark CROSS_ORIGIN as requiring pthreads and dynamic execution (#25582)
This setting was recently added in #25581 and it only currently has en
effect on pthread-based programs.
It is also not compatible with `-sNO_DYNAMIC_EXECUTION` because it
depends on starting worker based on JS string.
These errors look like this:
```
$ emcc -sCROSS_ORIGIN -pthread -sDYNAMIC_EXECUTION=0 hello.c
emcc: error: CROSS_ORIGIN is not compatible with DYNAMIC_EXECUTION=0
```1 parent afae201 commit d6d3b16
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
| 680 | + | |
| 681 | + | |
680 | 682 | | |
681 | 683 | | |
682 | 684 | | |
| |||
0 commit comments