diff options
author | Ayke van Laethem <[email protected]> | 2021-09-22 02:44:28 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2021-10-04 18:22:55 +0200 |
commit | a6246e60f3d9bd54095e1a28baca2d799cd1cb15 (patch) | |
tree | 9238f1c1fd620f26b991cad7b5adf29c781aaa90 /src/device | |
parent | 0a80da46b1eca3cc5da51633b95d5a31b949a59b (diff) | |
download | tinygo-a6246e60f3d9bd54095e1a28baca2d799cd1cb15.tar.gz tinygo-a6246e60f3d9bd54095e1a28baca2d799cd1cb15.zip |
main: remove -target flag for LLVM targets
It is better to use environment variables (GOOS and GOARCH) for
consistency instead of providing two slightly incompatible ways. This
-target flag should only be used to specify a .json file (either
directly or in the TinyGo targets directory). Previously it was possible
to specify the LLVM target as well but that was never really fully
supported.
So:
- To specify a different OS/arch like you would in regular Go, use
GOOS and GOARCH.
- To specify a microcontroller chip or board, use the -target flag.
Also remove the old `os.Setenv` which might have had a purpose long ago
but doesn't have a purpose now.
Diffstat (limited to 'src/device')
0 files changed, 0 insertions, 0 deletions