![]() This adds the `Version()` function of the `runtime` package which embeds the go version that was used to build tinygo. For programs that are compiled with tinygo the version can be overriden via the: `tinygo build -ldflags="-X 'runtime.buildVersion=abc'"` flag. Otherwise it will continue to use the go version with which tinygo was compiled. |
||
---|---|---|
.. | ||
ar.go | ||
build.go | ||
builder_test.go | ||
buildid.go | ||
builtins.go | ||
cc.go | ||
cc1as.cpp | ||
cc1as.h | ||
cc_test.go | ||
clang.cpp | ||
commands.go | ||
config.go | ||
darwin-libsystem.go | ||
elfpatch.go | ||
env.go | ||
error.go | ||
esp.go | ||
jobs.go | ||
library.go | ||
lld.cpp | ||
mingw-w64.go | ||
musl.go | ||
nrfutil.go | ||
objcopy.go | ||
picolibc.go | ||
sizes.go | ||
tools-builtin.go | ||
tools-external.go | ||
tools.go | ||
uf2.go |