# interpret the WASI blob to produce zig2.c and compiler_rt.c · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/39fd77bc163f0d7fc7408cbb4e48f960b4739448)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 39fd77bc163f0d7fc7408cbb4e48f960b4739448

Requested commit: 39fd77bc163f0d7fc7408cbb4e48f960b4739448

Commit: 39fd77bc163f0d7fc7408cbb4e48f960b4739448

Tree: f32d6bbf639cf5840e72bb4a5ed6f5c56dc6165f

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
interpret the WASI blob to produce zig2.c and compiler_rt.c

 * synchronize zig1.c from zig-wasi external project
 * change the way argv works to avoid absolute paths
 * autodetect isatty
 * compiler_rt: disable some functions when object format is C
 * add missing flag from config.zig.in

The next problem is that compiling compiler_rt.c with gcc gives
"conflicting types" errors for `__eqhf2` and friends.

```

## Parents

- [ef447c3ecac4211a0a03f487e84acc61160d7ede](https://git.cafe/gitcafe/zig/commit/ef447c3ecac4211a0a03f487e84acc61160d7ede?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/39fd77bc163f0d7fc7408cbb4e48f960b4739448?format=markdown)
