# self-hosted: first passing test · gitcafe/zig

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

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

Visibility: public

Requested revision: 574e31f0a046aa6e6fad73fff2cbbb3617fe1bae

Requested commit: 574e31f0a046aa6e6fad73fff2cbbb3617fe1bae

Commit: 574e31f0a046aa6e6fad73fff2cbbb3617fe1bae

Tree: b83f2dfec8821055929b82b18c87ea6b4e8da78a

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
self-hosted: first passing test

 * introduce std.atomic.Int
 * add src-self-hosted/test.zig which is tested by the main test suite
   - it fully utilizes the multithreaded async/await event loop so the
     tests should Go Fast
 * `stage2/bin/zig build-obj test.zig` is able to spit out an error if 2 exported
   functions collide
 * ability for `zig test` to accept `--object` and `--assembly`
   arguments
 * std.build: TestStep supports addLibPath and addObjectFile

```

## Parents

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

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