tinygo/loader
Ayke van Laethem 2194d447e9 loader: use ioutil.TempDir to create a temporary directory
... instead of generating one with math/rand. The problem was that
math/rand is deterministic across runs, resulting in a possible race
when trying to create the same directory between two processes.
Additionally, because I used `os.MkdirAll`, no error was reported when
the directory already existed. The solution to this is to use the stdlib
function designed for this: ioutil.TempDir.
2020-08-28 14:48:37 +02:00
..
errors.go loader: load packages using Go modules 2020-05-27 13:08:17 +02:00
goroot.go loader: use ioutil.TempDir to create a temporary directory 2020-08-28 14:48:37 +02:00
loader.go loader: load packages using Go modules 2020-05-27 13:08:17 +02:00
ssa.go loader: switch to custom program loader 2018-12-10 15:36:23 +01:00