mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 02:57:46 +00:00
2f2d62cc0c
Add support for header files bundled with the compiler by copying them into the release tarball.
20 lines
394 B
JSON
20 lines
394 B
JSON
{
|
|
"llvm-target": "wasm32-unknown-unknown-wasm",
|
|
"build-tags": ["js", "wasm"],
|
|
"goos": "js",
|
|
"goarch": "wasm",
|
|
"compiler": "clang-8",
|
|
"linker": "wasm-ld",
|
|
"cflags": [
|
|
"--target=wasm32",
|
|
"-nostdlibinc",
|
|
"-Wno-macro-redefined",
|
|
"-Oz"
|
|
],
|
|
"ldflags": [
|
|
"--allow-undefined",
|
|
"--export-all"
|
|
],
|
|
"emulator": ["node", "targets/wasm_exec.js"]
|
|
}
|