tinygo/compiler
Ayke van Laethem a2d0f79be3 all: pretend to be linux/arm in baremetal targets
So far, we've pretended to be js/wasm in baremetal targets to make the
stdlib happy. Unfortunately, this has various problems because
syscall/js (a dependency of many stdlib packages) thinks it can do JS
calls, and emulating them gets quite hard with all changes to the
syscall/js packages in Go 1.12.

This commit does a few things:
  * It lets baremetal targets pretend to be linux/arm instead of
    js/wasm.
  * It lets the loader only select particular packages from the src
    overlay, instead of inserting them just before GOROOT. This makes it
    possible to pick which packages to overlay for a given target.
  * It adds a baremetal-only syscall package that stubs out almost all
    syscalls.
2019-03-23 22:58:26 +01:00
..
asserts.go compiler: inline slice bounds checking 2019-03-08 19:11:22 +01:00
calls.go all: go fmt 2019-01-31 16:22:05 +01:00
channel.go all: go fmt 2019-01-31 16:22:05 +01:00
compiler.go all: pretend to be linux/arm in baremetal targets 2019-03-23 22:58:26 +01:00
defer.go all: update import paths to github.com/tinygo-org/tinygo 2019-01-31 17:43:19 +01:00
errors.go compiler: return error messages with source location 2018-12-01 17:41:15 +01:00
goroutine-lowering.go all: implement trivial select statements 2019-03-23 16:16:19 +01:00
interface-lowering.go compiler: support function pointers outside of addrspace 0 2019-03-05 19:54:55 +01:00
interface.go compiler: support function pointers outside of addrspace 0 2019-03-05 19:54:55 +01:00
llvm.go all: rename go-llvm to new import path 2019-01-27 19:26:16 +01:00
map.go compiler: support for byte arrays as keys in maps 2019-01-31 16:35:22 +01:00
optimizer.go all: rename go-llvm to new import path 2019-01-27 19:26:16 +01:00
reflect.go reflect: add limited support for all type kinds 2019-02-05 17:11:09 +01:00
sizes.go compiler: refactor compiler into separate package 2018-09-22 20:32:28 +02:00
syscall.go all: add macOS support 2019-02-19 15:54:36 +01:00