mirror of https://github.com/tinygo-org/tinygo.git
Browse Source
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.pull/2078/merge
Ayke van Laethem
3 years ago
committed by
Ron Evans
3 changed files with 11 additions and 37 deletions
Loading…
Reference in new issue