diff options
author | Ayke van Laethem <[email protected]> | 2022-01-25 22:33:29 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-01-26 00:27:33 +0100 |
commit | 3883550c446fc8b14115366284316290f3d3c4b1 (patch) | |
tree | e4d0cf4cf1682c65d63a996da5d8078d13d3ea07 /goenv/version.go | |
parent | 5ce072b827c1b39e613560e8021bdc4b3d49112f (diff) | |
download | tinygo-3883550c446fc8b14115366284316290f3d3c4b1.tar.gz tinygo-3883550c446fc8b14115366284316290f3d3c4b1.zip |
build: fix build-library subcommandv0.22.0
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.
Diffstat (limited to 'goenv/version.go')
0 files changed, 0 insertions, 0 deletions