Skip to content

Commit 3fb7ebd

Browse files
authored
Delete unused exports_wasi_cli_run_run symbol (WebAssembly#724)
Not used any more, so this can be safely deleted.
1 parent f5dae59 commit 3fb7ebd

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

expected/wasm32-wasip2/defined-symbols.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,6 @@ explicit_bzero
566566
expm1
567567
expm1f
568568
expm1l
569-
exports_wasi_cli_run_run
570569
fabs
571570
fabsf
572571
fabsl

libc-bottom-half/sources/__main_void.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,3 @@ __attribute__((__weak__, nodebug)) int __main_void(void) {
120120
#error "Unknown WASI version"
121121
#endif
122122
}
123-
124-
#ifdef __wasip2__
125-
bool exports_wasi_cli_run_run(void) {
126-
// TODO: this is supposed to be unnecessary, but functional/env.c fails
127-
// without it
128-
__wasilibc_initialize_environ();
129-
return __main_void() == 0;
130-
}
131-
#endif

0 commit comments

Comments
 (0)