tinygo/src/os
Elliott Sales de Andrade a680bfbb7a os: Use a uintptr for NewFile
This appears to have been how it is upstream for about 10 years. Using
an interface breaks if a file descriptor number is passed directly to
`NewFile`, e.g., `NewFile(3, "fuzz_in")` as used in Go 1.18 fuzzing
code.
2022-03-01 14:01:40 +01:00
..
dir.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
dir_darwin.go os: implement readdir for darwin and linux 2022-02-02 08:57:49 +01:00
dir_other.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
dir_other_go115.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01: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 WASI & darwin: support basic file io based on libc 2021-03-28 12:37:15 +02:00
exec.go os: stub out support for some more features 2021-11-26 08:05:35 +01: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 Implement os.RemoveAll() 2022-02-18 04:47:19 +01:00
file_anyos.go os: Use a uintptr for NewFile 2022-03-01 14:01:40 +01:00
file_anyos_test.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
file_go_116.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
file_go_116_test.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01:00
file_go_other.go os: add Perm stub on Go 1.15 2021-12-26 16:04:19 -05:00
file_other.go os: Use a uintptr for NewFile 2022-03-01 14:01:40 +01:00
file_unix.go os: Use a uintptr for NewFile 2022-03-01 14:01:40 +01:00
file_windows.go os: Use a uintptr for NewFile 2022-03-01 14:01:40 +01:00
filesystem.go os: Use a uintptr for NewFile 2022-03-01 14:01:40 +01:00
os_anyos_test.go all: update build constraints to Go 1.17 2022-02-04 07:49:46 +01: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
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 Implement os.RemoveAll() 2022-02-18 04:47:19 +01: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