tinygo build -o /path/to/out
does not create intermediate directories, like go build
does
#4687
Labels
tinygo build -o /path/to/out
does not create intermediate directories, like go build
does
#4687
go build -o /path/to/out .
creates/path/to/
if needed, before starting the build.tinygo build -o /path/to/out .
does not create /path/to/` if the directory doesn't exist, failing the build with the slightly confusing message "open /path/to/out: no such file or directory"This is confusing behaviour, but also makes the use of build tooling, like GoReleaser, challenging as substituting
tinygo
in forgo
in the build configuration doesn't work as expected, and throws the error: "open [your output path]: no such file or directory".Repoducing the issue
Get into a Go project directory that can compile with Go and TinyGo.
The text was updated successfully, but these errors were encountered: