{{ message }}
Commit 18d7011
gh-156780: Emscripten: add an embedding smoke test
Link libpython.a into a program whose main() is not Python's, without
-sMAIN_MODULE or the interpreter's link flags, and run a script that
imports from the stdlib, calls through the trampoline and polls.
Platforms/emscripten/web_embed_test/run_test.sh builds and runs it in CI.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent e334b54 commit 18d7011
4 files changed
Lines changed: 88 additions & 1 deletion
File tree
- .github/workflows
- Platforms/emscripten/web_embed_test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1122 | 1122 | | |
1123 | 1123 | | |
1124 | 1124 | | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
1125 | 1139 | | |
1126 | 1140 | | |
1127 | 1141 | | |
| |||
3288 | 3302 | | |
3289 | 3303 | | |
3290 | 3304 | | |
3291 | | - | |
| 3305 | + | |
3292 | 3306 | | |
3293 | 3307 | | |
3294 | 3308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |

0 commit comments