tinygo/compiler
Ayke van Laethem 3e109fca5f builder: use build ID as cache key
Instead of storing an increasing version number in relevant packages
(compiler.Version, interp.Version, cgo.Version, ...), read the build ID
from the currently running executable. This has several benefits:

  * All changes relevant to the compiled packages are caught.
  * No need to bump the version for each change to these packages.
    This avoids merge conflicts.
  * During development, `go install` is enough. No need to run
    `tinygo clean` all the time.

Of course, the drawback is that it might be updated a bit more often
than necessary but I think the overall benefit is big.

Regular release users shouldn't see any difference. Because the tinygo
binary stays the same, the cache works well.
2021-12-28 18:29:05 -05:00
..
ircheck compiler: move IR checker to separate package 2020-03-21 15:45:25 +01:00
llvmutil compiler: change symbol name for string and packed data constants 2021-11-03 16:28:04 +01:00
testdata internal/task: swap stack chain when switching goroutines 2021-12-17 10:01:11 +01:00
alias.go fix export math functions issue 2021-10-03 16:28:34 +02:00
asserts.go compiler: fix indices into strings and arrays 2021-11-13 11:04:24 +01:00
atomic.go targets: match LLVM triple to the one Clang uses 2021-11-05 09:42:00 +01:00
calls.go all: fix staticcheck warnings 2021-09-27 15:47:12 +02:00
channel.go compiler: avoid zero-sized alloca in channel operations 2021-09-09 11:24:52 +02:00
compiler.go builder: use build ID as cache key 2021-12-28 18:29:05 -05:00
compiler_test.go all: add LLVM 12 support 2021-11-30 21:53:16 +01:00
defer.go compiler, runtime: add layout parameter to runtime.alloc 2021-11-02 22:16:15 +01:00
errors.go all: fix staticcheck warnings 2021-09-27 15:47:12 +02:00
func.go transform: refactor interrupt lowering 2021-11-06 09:40:15 +01:00
gc.go compiler: track the result of string concatenation 2020-04-02 14:04:25 +02:00
goroutine.go internal/task: use asyncify on webassembly 2021-11-14 10:49:28 +01:00
inlineasm.go all: fix staticcheck warnings 2021-09-27 15:47:12 +02:00
interface.go compiler: fix ranging over maps with particular map types 2021-12-09 00:14:20 +01:00
interrupt.go transform: refactor interrupt lowering 2021-11-06 09:40:15 +01:00
intrinsics.go compiler: move LLVM math builtin support into the compiler 2021-08-10 20:08:27 +02:00
llvm.go compiler: change symbol name for string and packed data constants 2021-11-03 16:28:04 +01:00
map.go compiler: fix ranging over maps with particular map types 2021-12-09 00:14:20 +01:00
sizes.go reflect: implement Sizeof and Alignof for func values 2021-03-29 01:04:11 +02:00
symbol.go cgo: add //go: pragmas to generated functions and globals 2021-11-24 21:09:29 +01:00
syscall.go all: remove FreeBSD support 2021-11-24 22:21:22 +01:00
volatile.go compiler: do not perform nil checking when indexing slices 2020-03-27 07:38:16 +01:00