Mirai's Miscellaneous Misadventures
M46 / meta / wasm32.txt
# license: AGPLv3 or later
# copyright 2023 zamfofex
[binaries]
c = ['clang', '--target=wasm32', '-ffreestanding']
strip = 'llvm-strip'
ar = 'llvm-ar'
[built-in options]
c_link_args = ['-nostdlib', '-Wl,--no-entry,--allow-undefined']
default_library = 'static'
[host_machine]
system = 'none'
cpu_family = 'wasm32'
cpu = 'wasm32'
endian = 'little'