tinygo/compileopts
Adrian Cole e91fae5756 compileopts: silently succeed when there's no debug info to strip
Before, on the baremetal target or MacOS, we errored if the user
provided configuration to strip debug info.

Ex.
```bash
$ $ tinygo build -o main.go  -scheduler=none --no-debug  main.go
error: cannot remove debug information: MacOS doesn't store debug info in the executable by default
```

This is a poor experience which results in having OS-specific CLI
behavior. Silently succeeding is good keeping with the Linux philosophy
and less distracting than logging the same without failing.

Signed-off-by: Adrian Cole <adrian@tetrate.io>
2022-09-27 08:16:35 +02:00
..
config.go compileopts: silently succeed when there's no debug info to strip 2022-09-27 08:16:35 +02:00
options.go main: allow setting the baud rate for serial monitors (#3190) 2022-09-24 19:09:41 +02:00
options_test.go internal/task: remove coroutines 2022-01-19 14:42:02 -05:00
target.go Update compileopts/target.go 2022-09-03 11:50:41 +02:00
target_test.go all: update _test.go files for os.IsFoo changes 2022-08-07 10:32:23 +02:00