tinygo/builder
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
..
ar.go
build.go compileopts: silently succeed when there's no debug info to strip 2022-09-27 08:16:35 +02:00
builder_test.go all: update _test.go files for ioutil changes 2022-08-07 10:32:23 +02:00
buildid.go Fix for builds of tinygo using an Android host 2022-08-09 11:14:39 +02:00
builtins.go
cc.go all: move from os.IsFoo to errors.Is(err, ErrFoo) 2022-08-07 10:32:23 +02:00
cc1as.cpp
cc1as.h
cc_test.go
clang.cpp
commands.go
config.go all: drop support for Go 1.16 and Go 1.17 2022-08-30 12:38:06 +02:00
darwin-libsystem.go
elfpatch.go
env.go all: move from os.IsFoo to errors.Is(err, ErrFoo) 2022-08-07 10:32:23 +02:00
error.go
esp.go all: remove calls to deprecated ioutil package 2022-08-07 10:32:23 +02:00
jobs.go
library.go compiler: use the LLVM builtins everywhere 2022-08-28 23:37:56 +02:00
lld.cpp
mingw-w64.go compiler: use the LLVM builtins everywhere 2022-08-28 23:37:56 +02:00
musl.go compiler: use the LLVM builtins everywhere 2022-08-28 23:37:56 +02:00
nrfutil.go all: remove calls to deprecated ioutil package 2022-08-07 10:32:23 +02:00
objcopy.go all: remove calls to deprecated ioutil package 2022-08-07 10:32:23 +02:00
picolibc.go compiler: replace math aliases with intrinsics 2022-08-30 17:33:16 +02:00
sizes.go
tools-builtin.go
tools-external.go
tools.go
uf2.go all: remove calls to deprecated ioutil package 2022-08-07 10:32:23 +02:00