tinygo/loader
Ayke van Laethem c454568688 loader: fix true path detection on Windows
This is necessary to display error messages on Windows. For example,
this command invocation is not correct (esp32 doesn't define
machine.LED, you need esp32-coreboard-v2 for example):

    tinygo run -target=esp32 examples/blinky1

It results in the following hard-to-read error message:

    # examples/blinky1
    ..\..\..\..\..\AppData\Local\tinygo\goroot-go1.16-24cb853b66a5367bf6d65bc08b2cb665c75bd9971f0be8f8b73f69d1a33e04a1-syscall\src\examples\blinky1\blinky1.go:11:17: LED not declared by package machine

With this commit, this error message becomes much easier to read:

    # examples/blinky1
    C:\Users\Ayke\go\src\github.com\tinygo-org\tinygo\src\examples\blinky1\blinky1.go:11:17: LED not declared by package machine
2021-10-31 19:10:26 +01:00
..
errors.go main: match go test output 2021-05-06 20:04:16 +02:00
goroot.go baremetal,wasm: support command line params and environment variables 2021-08-12 21:19:24 +02:00
list.go loader: rewrite/refactor much of the code to use go list directly 2020-09-03 22:10:14 +02:00
loader.go loader: fix true path detection on Windows 2021-10-31 19:10:26 +01:00
ssa.go compiler: refactor and add tests 2021-01-15 14:43:43 +01:00