Ayke van Laethem
6bcb40fe01
os: implement virtual filesystem support
...
This allows applications to mount filesystems in the os package. This is
useful for mounting external flash filesystems, for example.
2020-05-13 08:08:57 +02:00
Ayke van Laethem
efafda1d32
runtime: only implement CountString for required platforms
2019-11-10 21:33:11 +01:00
Ayke van Laethem
f2cd4d12e8
compiler,runtime: fix multiple definitions of a single function
...
strings.IndexByte was implemented in the runtime up to Go 1.11. It is
implemented using a direct call to internal/bytealg.IndexByte since Go
1.12.
Make sure we remain compatible with both.
2019-05-24 14:51:40 +02:00
Ayke van Laethem
7de3d4be2b
all: support interface asserts in interp
...
This adds support for the math/rand package.
2019-04-13 20:55:56 +02:00
Ayke van Laethem
709a296150
os: add basic OS functionality
2019-02-05 17:37:55 +01:00