tinygo/src/os
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
..
exec src/os: add stubs for exec.ExitError and ProcessState.ExitCode 2022-03-08 06:45:53 +01:00
dir.go os: Drop support for go 1.15 2022-05-03 05:36:55 +02:00
dir_darwin.go os: implement readdir for darwin and linux 2022-02-02 08:57:49 +01:00
dir_other.go os: Drop support for go 1.15 2022-05-03 05:36:55 +02:00
dir_test.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
dir_unix.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
dirent_linux.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
endian_little.go os: implement readdir for darwin and linux 2022-02-02 08:57:49 +01:00
env.go src/os,src/syscall: move env copy code to syscall.Environ() 2022-03-01 11:44:39 +01:00
env_test.go src/os: add back TestClearenv 2022-03-01 11:44:39 +01:00
env_unix_test.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
errors.go os: Drop support for go 1.15 2022-05-03 05:36:55 +02:00
exec.go os: Add some exec.ProcessState stubs 2022-03-17 12:33:59 +01:00
exec_posix.go gofmt exec_posix.go 2022-04-18 22:52:14 +02:00
executable_other.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
executable_procfs.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
export_test.go os: implement CreateTemp 2021-12-01 12:53:04 +01:00
export_windows_test.go os, syscall: implement Stat and Lstat 2021-12-01 00:23:23 +01:00
file.go os: Drop support for go 1.15 2022-05-03 05:36:55 +02:00
file_anyos.go src/os: implement os.File.Fd() method 2022-03-16 15:40:04 +01:00
file_anyos_test.go TestChdir: avoid cd .., as wasi does not really support it yet. Tiptoes around #2799. 2022-04-25 17:59:39 +02:00
file_other.go src/os: implement os.File.Fd() method 2022-03-16 15:40:04 +01:00
file_unix.go src/os: export correct values for os.DevNull for each OS 2022-03-08 14:49:14 +01:00
file_windows.go src/os: export correct values for os.DevNull for each OS 2022-03-08 14:49:14 +01:00
filesystem.go os: Use a uintptr for NewFile 2022-03-01 14:01:40 +01:00
os_anyos_test.go os: Drop support for go 1.15 2022-05-03 05:36:55 +02:00
os_chmod_test.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
os_symlink_test.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
os_test.go Kludge: provide stub for syscall.seek on 386 and arm, #1906 2022-01-24 18:23:40 +01:00
path.go github: also run 'make tinygo-test' on mac 2022-02-21 05:18:27 +01:00
path_test.go os: implement MkdirAll 2021-12-03 09:38:40 +01:00
path_unix.go os: remove as-yet unused function splitPath 2021-12-03 09:38:40 +01:00
path_windows.go os: implement MkdirAll 2021-12-03 09:38:40 +01:00
path_windows_test.go os: isWine: be compatible with older versions of wine, too 2022-02-03 19:12:19 +01:00
pipe_test.go os: Implement Pipe for darwin, add smoke test. 2022-04-08 08:29:30 +02:00
proc.go os: implement process related functions 2021-06-25 16:14:47 +02:00
read_test.go Implement os.RemoveAll() 2022-02-18 04:47:19 +01:00
removeall_noat.go Implement os.RemoveAll() 2022-02-18 04:47:19 +01:00
removeall_other.go Implement os.RemoveAll() 2022-02-18 04:47:19 +01:00
removeall_test.go Implement os.RemoveAll() 2022-02-18 04:47:19 +01:00
seek_unix_bad.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
stat.go src/os/stat.go: get build tags right, maybe 2021-12-09 22:14:29 +01:00
stat_darwin.go os, syscall: implement Stat and Lstat 2021-12-01 00:23:23 +01:00
stat_linux.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
stat_other.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
stat_test.go os, syscall: implement Stat and Lstat 2021-12-01 00:23:23 +01:00
stat_unix.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
stat_windows.go src/{syscall, os}: add File.Stat, with smoke test 2022-01-20 11:14:41 +01:00
sys.go extend stdlib to allow import of more packages (#1099) 2020-06-23 11:56:28 +02:00
tempfile.go os: implement and test os.MkdirTemp 2021-12-14 09:25:27 +01:00
tempfile_test.go os: Drop support for go 1.15 2022-05-03 05:36:55 +02:00
types.go os: implement readdir for darwin and linux 2022-02-02 08:57:49 +01:00
types_anyos.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
types_unix.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
types_windows.go os, syscall: implement Stat and Lstat 2021-12-01 00:23:23 +01:00