aboutsummaryrefslogtreecommitdiffhomepage
path: root/targets/avr.json
diff options
context:
space:
mode:
authorAyke <[email protected]>2019-01-05 11:46:25 +0100
committerRon Evans <[email protected]>2019-01-05 11:46:25 +0100
commit107fccb288f8ba6258d417c5e14921d4d97f3e64 (patch)
treedb3affb155be28686e50132671818d3f60a7a05c /targets/avr.json
parentf44dff6f59782a33ebaa33761643fbbfd6a29cb6 (diff)
downloadtinygo-107fccb288f8ba6258d417c5e14921d4d97f3e64.tar.gz
tinygo-107fccb288f8ba6258d417c5e14921d4d97f3e64.zip
all: add support for more architectures and GOOS/GOARCH (#118)
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.
Diffstat (limited to 'targets/avr.json')
-rw-r--r--targets/avr.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/targets/avr.json b/targets/avr.json
index abe486ec3..e74ed05bc 100644
--- a/targets/avr.json
+++ b/targets/avr.json
@@ -1,5 +1,7 @@
{
"build-tags": ["avr", "js", "wasm"],
+ "goos": "js",
+ "goarch": "wasm",
"compiler": "avr-gcc",
"linker": "avr-gcc",
"objcopy": "avr-objcopy",