| 1 |
[binaries] |
| 2 |
c = '/opt/wasi-sdk/bin/clang' |
| 3 |
cpp = '/opt/wasi-sdk/bin/clang++' |
| 4 |
ar = '/opt/wasi-sdk/bin/llvm-ar' |
| 5 |
strip = '/opt/wasi-sdk/bin/llvm-strip' |
| 6 |
|
| 7 |
[built-in options] |
| 8 |
# _POSIX_C_SOURCE exposes clock_gettime in wasi-libc's <time.h>. |
| 9 |
# dav1d's atomics get translated to WASM atomic ops; we enable wazero's |
| 10 |
# experimental threads feature on the Go side to accept them at runtime. |
| 11 |
# -msimd128 / -mnontrapping-fptoint let clang auto-vectorize hot loops; |
| 12 |
# both features are in wazero's CoreFeaturesV2 set. |
| 13 |
c_args = ['--target=wasm32-wasip1', '--sysroot=/opt/wasi-sdk/share/wasi-sysroot', '-D_POSIX_C_SOURCE=200112L', '-msimd128', '-mnontrapping-fptoint'] |
| 14 |
c_link_args = ['--target=wasm32-wasip1', '--sysroot=/opt/wasi-sdk/share/wasi-sysroot'] |
| 15 |
default_library = 'static' |
| 16 |
|
| 17 |
[host_machine] |
| 18 |
system = 'wasi' |
| 19 |
cpu_family = 'wasm32' |
| 20 |
cpu = 'wasm32' |
| 21 |
endian = 'little' |