tinygo/compileopts
Ayke van Laethem 9612af466b compiler: move settings to a separate Config struct
Moving settings to a separate config struct has two benefits:
  - It decouples the compiler a bit from other packages, most
    importantly the compileopts package. Decoupling is generally a good
    thing.
  - Perhaps more importantly, it precisely specifies which settings are
    used while compiling and affect the resulting LLVM module. This will
    be necessary for caching the LLVM module.
    While it would have been possible to cache without this refactor, it
    would have been very easy to miss a setting and thus let the
    compiler work with invalid/stale data.
2021-01-29 14:49:58 +01:00
..
config.go compiler: move settings to a separate Config struct 2021-01-29 14:49:58 +01:00
options.go New tinygo -x option to print commands (#1572) 2021-01-14 21:35:01 +01:00
options_test.go compileopts: improve error reporting of unsupported flags 2020-05-16 23:29:47 +02:00
target.go Add support for additional openocd commands (#1492) 2020-12-30 09:19:41 +01:00
target_test.go compileopts: simplify copyProperties using reflection 2020-09-20 13:49:16 +02:00