mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 19:17:47 +00:00
wasm: compile .c files in packages
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
{
|
||||
"llvm-target": "wasm32-unknown-unknown-wasm",
|
||||
"build-tags": ["js", "wasm"],
|
||||
"compiler": "clang-7",
|
||||
"linker": "ld.lld-7",
|
||||
"cflags": [
|
||||
"--target=wasm32",
|
||||
"-Oz"
|
||||
],
|
||||
"ldflags": [
|
||||
"-flavor", "wasm",
|
||||
"-allow-undefined"
|
||||
|
||||
Reference in New Issue
Block a user