Stepan Rakitin
91ee4d0030
os: define ErrNoDeadline
2023-06-17 10:38:48 +02:00
Christian Stewart
930255ff46
os: add IsTimeout function
...
Fixes build error: undefined: os.IsTimeout
Signed-off-by: Christian Stewart <christian@paral.in >
2023-03-05 22:24:36 +01:00
Roman Volosatovs
9d73e6cfe4
os: add SyscallError.Timeout
...
Signed-off-by: Roman Volosatovs <roman@profian.com >
2022-08-06 12:40:15 +02:00
Dan Kegel
e87cd23e87
os: Drop support for go 1.15
...
1.15 specific files deleted.
1.16 specific files folded carefully into generic files, with goal of reducing diff with upstream.
Follows upstream 1.16 in making PathError etc. be aliases for the same errors in io/fs.
This fixes #2817 and lets us add io/ioutil to "make test-tinygo" on linux and mac.
2022-05-03 05:36:55 +02:00
Dan Kegel
69d7ed5cda
os: define ErrDeadlineExceeded; fixes go 1.18 compile error in net/http, #2782
2022-04-19 09:22:27 +02:00
Takeshi Yoneda
1406453350
WASI & darwin: support basic file io based on libc
...
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io >
2021-03-28 12:37:15 +02:00
Cornel
720a54a0fe
extend stdlib to allow import of more packages ( #1099 )
...
* stdlib: extend stdlib to allow import of more packages
2020-06-23 11:56:28 +02:00