mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 10:37:46 +00:00
ebd4969cde
This adds support for building with `-tags=llvm13` and switches to LLVM
13 for tinygo binaries that are statically linked against LLVM.
Some notes on this commit:
* Added `-mfloat-abi=soft` to all Cortex-M targets because otherwise
nrfx would complain that floating point was enabled on Cortex-M0.
That's not the case, but with `-mfloat-abi=soft` the `__SOFTFP__`
macro is defined which silences this warning.
See: https://reviews.llvm.org/D100372
* Changed from `--sysroot=<root>` to `-nostdlib -isystem <root>` for
musl because with Clang 13, even with `--sysroot` some system
libraries are used which we don't want.
* Changed all `-Xclang -internal-isystem -Xclang` to simply
`-isystem`, for consistency with the above change. It appears to
have the same effect.
* Moved WebAssembly function declarations to the top of the file in
task_asyncify_wasm.S because (apparently) the assembler has become
more strict.
19 lines
694 B
Modula-2
19 lines
694 B
Modula-2
module github.com/tinygo-org/tinygo
|
|
|
|
go 1.15
|
|
|
|
require (
|
|
github.com/aykevl/go-wasm v0.0.2-0.20211119014117-0761b1ddcd1a // indirect
|
|
github.com/blakesmith/ar v0.0.0-20150311145944-8bd4349a67f2
|
|
github.com/chromedp/cdproto v0.0.0-20210113043257-dabd2f2e7693
|
|
github.com/chromedp/chromedp v0.6.4
|
|
github.com/gofrs/flock v0.8.1 // indirect
|
|
github.com/google/shlex v0.0.0-20181106134648-c34317bd91bf
|
|
github.com/marcinbor85/gohex v0.0.0-20200531091804-343a4b548892
|
|
github.com/mattn/go-colorable v0.1.8
|
|
go.bug.st/serial v1.1.3
|
|
golang.org/x/sys v0.0.0-20210510120138-977fb7262007
|
|
golang.org/x/tools v0.1.6-0.20210813165731-45389f592fe9
|
|
tinygo.org/x/go-llvm v0.0.0-20211230181020-1ddc904f6bf6
|
|
)
|