mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-31 17:17:47 +00:00
107fccb288
This commit does two things:
* It adds support for the GOOS and GOARCH environment variables. They
fall back to runtime.GO* only when not available.
* It adds support for 3 new architectures: 386, arm, and arm64. For
now, this is Linux-only.
13 lines
214 B
JSON
13 lines
214 B
JSON
{
|
|
"build-tags": ["avr", "js", "wasm"],
|
|
"goos": "js",
|
|
"goarch": "wasm",
|
|
"compiler": "avr-gcc",
|
|
"linker": "avr-gcc",
|
|
"objcopy": "avr-objcopy",
|
|
"ldflags": [
|
|
"-T", "targets/avr.ld",
|
|
"-Wl,--gc-sections"
|
|
]
|
|
}
|