Mirai's Miscellaneous Misadventures

M44 / meta / wasm32.txt

1# license: AGPLv3 or later
2# copyright 2023 zamfofex
3
4[binaries]
5c = ['clang', '--target=wasm32', '-ffreestanding']
6strip = 'llvm-strip'
7ar = 'llvm-ar'
8
9[built-in options]
10c_link_args = ['-nostdlib', '-Wl,--no-entry,--allow-undefined']
11default_library = 'static'
12
13[host_machine]
14system = 'none'
15cpu = 'wasm32'
16cpu_family = 'wasm32'
17endian = 'little'