
This commit does a few things: * remove the -8 suffix on macOS, where it is not necessary * add smoke tests for compiling wasm files on Linux and macOS
17 строки
350 Б
JSON
17 строки
350 Б
JSON
{
|
|
"llvm-target": "wasm32-unknown-unknown-wasm",
|
|
"build-tags": ["js", "wasm"],
|
|
"goos": "js",
|
|
"goarch": "wasm",
|
|
"compiler": "clang-8",
|
|
"linker": "wasm-ld",
|
|
"cflags": [
|
|
"--target=wasm32",
|
|
"-Oz"
|
|
],
|
|
"ldflags": [
|
|
"--allow-undefined",
|
|
"--export-all"
|
|
],
|
|
"emulator": ["node", "targets/wasm_exec.js"]
|
|
}
|