# std: Single-threaded \`panicImpl\` sleep is unreachable \(\#11569\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 28ef79ea808fdb8e00b6d88d1565314a9e412768

Requested commit: 28ef79ea808fdb8e00b6d88d1565314a9e412768

Commit: 28ef79ea808fdb8e00b6d88d1565314a9e412768

Tree: ef5a6579b9154d18234dc4736ac75468da7e0ccf

Author: Jay Petacat

Committer: GitHub

## Message

```
std: Single-threaded `panicImpl` sleep is unreachable (#11569)

Adding `unreachable` prevents the futex code from being inspected during
a single-threaded build. Without futex, first draft BYOS packages don't
need to implement `nanosleep` to get a single-threaded "hello world"
program working.

Use of `assert()` did not achieve the desired effect of avoiding futex
in a single-threaded build.
```

## Parents

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

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