Repository navigation
Commit 52096ec
Make --enable-wasm-dynamic-linking work for WASI 0.1
configure accepted the option for WASI but left the link flags
unimplemented, so they had to be supplied through the environment.
* LDSHARED imports a module's undefined symbols instead of failing on
them, so the dynamic loader can resolve them. The branch that was meant
to set it was unreachable.
* On wasm32-wasip1, python.wasm is linked as a position-independent
executable that imports its memory and exports its symbols. Later WASI
versions link a component and are left as they are.
The default build is unchanged.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>1 parent 64c20ff commit 52096ec
4 files changed
Lines changed: 41 additions & 12 deletions
File tree
- Doc/using
- Misc/NEWS.d/next/WASI
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
645 | 651 | | |
646 | 652 | | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
647 | 656 | | |
648 | 657 | | |
649 | 658 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3948 | 3948 | | |
3949 | 3949 | | |
3950 | 3950 | | |
3951 | | - | |
| 3951 | + | |
3952 | 3952 | | |
3953 | 3953 | | |
| 3954 | + | |
| 3955 | + | |
| 3956 | + | |
| 3957 | + | |
| 3958 | + | |
3954 | 3959 | | |
3955 | 3960 | | |
3956 | 3961 | | |
| |||
3981 | 3986 | | |
3982 | 3987 | | |
3983 | 3988 | | |
3984 | | - | |
3985 | | - | |
3986 | | - | |
3987 | | - | |
3988 | 3989 | | |
3989 | 3990 | | |
3990 | 3991 | | |
| |||
4083 | 4084 | | |
4084 | 4085 | | |
4085 | 4086 | | |
| 4087 | + | |
| 4088 | + | |
| 4089 | + | |
| 4090 | + | |
| 4091 | + | |
| 4092 | + | |
| 4093 | + | |
| 4094 | + | |
| 4095 | + | |
| 4096 | + | |
4086 | 4097 | | |
4087 | 4098 | | |
4088 | 4099 | | |
| |||
0 commit comments