tinygo/src
Dan Kegel 38efca1e2d syscall: stub mmap(), munmap(), MAP_SHARED, PROT_READ, SIGBUS, etc. on nonhosted targets
Makes 1.18 tests a little happier.

Works around this error:

$ make test GOTESTFLAGS="-run TestTest/EmulatedCortexM3/Pass"
...
main_test.go:520: test error: could not compile: /usr/local/go/src/internal/fuzz/sys_posix.go:19:18: PROT_READ not declared by package syscall
2022-03-19 21:06:45 +01:00
..
crypto/rand all: show error if platform has no rng 2022-01-04 20:27:41 +01:00
device all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
examples all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
internal internal/task: remove coroutines 2022-01-19 14:42:02 -05:00
machine atsamd51: allow faster frequency setting when using SPI 2022-03-12 08:45:38 +01:00
net Test net.Buffers{} 2021-12-09 14:35:52 +01:00
os os: Add some exec.ProcessState stubs 2022-03-17 12:33:59 +01:00
reflect Rename reflect.Ptr to reflect.Pointer 2022-03-18 15:27:28 +01:00
runtime updating the comments for stub funcs 2022-03-19 19:09:20 +01:00
sync sync: add tests 2021-12-22 11:02:45 +01:00
syscall syscall: stub mmap(), munmap(), MAP_SHARED, PROT_READ, SIGBUS, etc. on nonhosted targets 2022-03-19 21:06:45 +01:00
testing On baremetal platforms, use simpler test matcher. Fixes #2666. 2022-03-15 05:59:00 +01:00