diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2021-06-07 08:37:04 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2021-06-09 01:25:38 +0200 |
| commit | 93a4403271ef62d8ae2cd10f58cc23d4b7bbdf4d (patch) | |
| tree | cffa7232a2e239a72e38648613768b0c3c5aedde /src/link.zig | |
| parent | 6f6182a5f3a4b027bbff6405600fd21b3ef8b86c (diff) | |
| download | zig-93a4403271ef62d8ae2cd10f58cc23d4b7bbdf4d.tar.gz zig-93a4403271ef62d8ae2cd10f58cc23d4b7bbdf4d.zip | |
cc,wasi: package emulations as static archives
This replicates the expected behavior when using `clang` with
upstream `wasi-libc` sysroot: linking emulated subcomponents
such as process clocks or signals requires an explicit link flag
in the compiler invocation, for example:
```
zig cc -target wasm32-wasi -lwasi-emulated-process-clocks main.c -o main.wasm
```
Diffstat (limited to 'src/link.zig')
0 files changed, 0 insertions, 0 deletions
