tinygo/src
Ayke van Laethem c810628a20 loader: rewrite/refactor much of the code to use go list directly
There were a few problems with the go/packages package. While it is more
or less designed for our purpose, it didn't work quite well as it didn't
provide access to indirectly imported packages (most importantly the
runtime package). This led to a workaround that sometimes broke
`tinygo test`.

This PR contains a number of related changes:

  * It uses `go list` directly to retrieve the list of packages/files to
    compile, instead of relying on the go/packages package.
  * It replaces our custom TestMain replace code with the standard code
    for running tests (generated by `go list`).
  * It adds a dummy runtime/pprof package and modifies the testing
    package, to get tests to run again with the code generated by
    `go list`.
2020-09-03 22:10:14 +02:00
..
device machine/stm32f4: refactor common code and add new build tag stm32f4 (#1332) 2020-09-01 11:31:41 +02:00
examples machine/atsamd51x,runtime/atsamd51x: fixes needed for full support for all PWM pins. Also adds some useful constants to clarify peripheral clock usage 2020-08-30 09:27:17 +02:00
internal arm: automatically determine stack sizes 2020-08-27 19:23:22 +02:00
machine machine/stm32f4: refactor common code and add new build tag stm32f4 (#1332) 2020-09-01 11:31:41 +02:00
os extend stdlib to allow import of more packages (#1099) 2020-06-23 11:56:28 +02:00
reflect extend stdlib to allow import of more packages (#1099) 2020-06-23 11:56:28 +02:00
runtime loader: rewrite/refactor much of the code to use go list directly 2020-09-03 22:10:14 +02:00
sync extend stdlib to allow import of more packages (#1099) 2020-06-23 11:56:28 +02:00
syscall nintendoswitch: Add experimental Nintendo Switch support without CRT 2020-07-31 00:58:09 +02:00
testing loader: rewrite/refactor much of the code to use go list directly 2020-09-03 22:10:14 +02:00