tinygo/lib
Ayke van Laethem 6c9bb96bca wasm: update wasi-libc dependency
The latest version allows overriding the default CFLAGS. By default,
they're `-O2 -DNDEBUG`, thus not including DWARF debug information. This
commit changes this to include the `-g` flag.

Apart from an improved debug experience, this lets -size=full attribute
code to wasi-libc.

Before:

    $ tinygo build -o test.wasm -size=full ./testdata/alias.go
       code  rodata    data     bss |   flash     ram | package
    ------------------------------- | --------------- | -------
       1780       0     188  130733 |    1968  130921 | (unknown)
         84       0       0       0 |      84       0 | internal/task
        281       0       0       0 |     281       0 | main
       2374       0       4     147 |    2378     151 | runtime
    ------------------------------- | --------------- | -------
       4519       0     192  130880 |    4711  131072 | total

After:

    $ tinygo build -o test.wasm -size=full ./testdata/alias.go
       code  rodata    data     bss |   flash     ram | package
    ------------------------------- | --------------- | -------
         40       0     188  130733 |     228  130921 | (unknown)
       1740       0       0       0 |    1740       0 | C wasi-libc
         84       0       0       0 |      84       0 | internal/task
        281       0       0       0 |     281       0 | main
       2374       0       4     147 |    2378     151 | runtime
    ------------------------------- | --------------- | -------
       4519       0     192  130880 |    4711  131072 | total

The main difference here is the `(unknown)` code, which turns out to be
mostly wasi-libc in this trivial example.
2021-11-04 21:10:42 +01:00
..
avr@6624554c02 avr: remove device files, use them from a subrepository 2018-09-05 12:13:33 +02:00
CMSIS@9fe411cef1 Add runtime support for the nRF52 2018-04-25 20:06:08 +02:00
cmsis-svd@df75ff974c esp32c3: add support for this chip 2021-09-16 20:13:04 +02:00
compiler-rt@5bc79797e1 Revert "all: use compiler-rt from the llvm-project directory" 2019-11-25 14:37:52 +01:00
musl@040c1d16b4 builder: build static binaries using musl on Linux 2021-11-04 17:15:38 +01:00
nrfx@d779b49fc5 nrfx: updare submodule to latest commit 2021-01-06 18:50:46 +01:00
picolibc@f68b8204f7 cgo: add support for stdio in picolibc and wasi-libc 2021-10-26 17:08:30 +02:00
stm32-svd@3a0b0829b7 stm32: support SPI on L4 series 2021-04-21 21:09:41 +02:00
wasi-libc@ad5133410f wasm: update wasi-libc dependency 2021-11-04 21:10:42 +01:00
picolibc-stdio.c cgo: add support for stdio in picolibc and wasi-libc 2021-10-26 17:08:30 +02:00