sunfishcode commented on Issue #1970:
Are you compiling with any special flags, or does clang-8 do this by default?
jlb6740 commented on Issue #1970:
Are you compiling with any special flags, or does clang-8 do this by default?
At first thought this was because I was export_all, but I removed that and related linker options and it seems to do this by default. My build is as so:
/usr/bin/clang-8 -DWASM_ENTRY --sysroot=../wasi_libc/build/wasi_libc/sysroot/ --target=wasm32-unknown-wasi -ggdb -gdwarf -DNO_WASI_SUPPORT --std=c99 -Ofast -Wall -W -I../include -c ./fib2.c -o fib2.c.debug.wasm.o
/usr/bin/clang-8 -DWASM_ENTRY --sysroot=../wasi_libc/build/wasi_libc/sysroot/ --target=wasm32-unknown-wasi -ggdb -gdwarf -DNO_WASI_SUPPORT --std=c99 -Ofast -Wall -W -I../include fib2.c.debug.wasm.o -o fib2.c.debug.wasm -nostartfiles
jlb6740 commented on Issue #1970:
Per discussion, I'll go ahead and merge if CI is ok.
jlb6740 edited a comment on Issue #1970:
Are you compiling with any special flags, or does clang-8 do this by default?
At first I assumed this was because I was export_all, but I removed that and related linker options and it seems to do this by default. My build is as so:
/usr/bin/clang-8 -DWASM_ENTRY --sysroot=../wasi_libc/build/wasi_libc/sysroot/ --target=wasm32-unknown-wasi -ggdb -gdwarf -DNO_WASI_SUPPORT --std=c99 -Ofast -Wall -W -I../include -c ./fib2.c -o fib2.c.debug.wasm.o
/usr/bin/clang-8 -DWASM_ENTRY --sysroot=../wasi_libc/build/wasi_libc/sysroot/ --target=wasm32-unknown-wasi -ggdb -gdwarf -DNO_WASI_SUPPORT --std=c99 -Ofast -Wall -W -I../include fib2.c.debug.wasm.o -o fib2.c.debug.wasm -nostartfiles
github-actions[bot] commented on Issue #1970:
Subscribe to Label Action
cc @peterhuene
<details>
This issue or pull request has been labeled: "wasmtime:api"Thus the following users have been cc'd because of the following labels:
- peterhuene: wasmtime:api
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
Last updated: Dec 23 2024 at 12:05 UTC