tinygo/compileopts
Ayke van Laethem 3883550c44 build: fix build-library subcommand
This subcommand has been broken for a while, since libraries also use
the CPU flag. This commit fixes this.

Previously, libraries were usable for most Cortex-M cores. But with the
addition of the CPU field, I've limited it to three popular cores: the
Cortex-M0 (microbit), Cortex-M0+ (atsamd21), and Cortex-M4 (atsamd21,
nrf52, and many others).

In the future we might consider also building libraries for the current
OS/arch so that libraries like musl are already precompiled.
2022-01-26 00:27:33 +01:00
..
config.go build: fix build-library subcommand 2022-01-26 00:27:33 +01:00
options.go main (test): integrate test corpus runner 2022-01-23 10:22:28 -05:00
options_test.go internal/task: remove coroutines 2022-01-19 14:42:02 -05:00
target.go compileopts: move {root} replacement to compileopts.Emulator() 2022-01-17 18:15:09 +01:00
target_test.go compileopts: fix reversed append in the target file 2021-11-07 09:26:46 +01:00