From 107fccb288f8ba6258d417c5e14921d4d97f3e64 Mon Sep 17 00:00:00 2001 From: Ayke Date: Sat, 5 Jan 2019 11:46:25 +0100 Subject: 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. --- targets/avr.json | 2 ++ 1 file changed, 2 insertions(+) (limited to 'targets/avr.json') 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", -- cgit v1.2.3