aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJay Petacat <jay@jayschwa.net>2022-05-04 10:43:27 -0400
committerGitHub <noreply@github.com>2022-05-04 09:43:27 -0500
commit28ef79ea808fdb8e00b6d88d1565314a9e412768 (patch)
treeef5a6579b9154d18234dc4736ac75468da7e0ccf /test
parent3ed9ef3e6bed3fef6d6cad07920d08b28e20ec3e (diff)
downloadzig-28ef79ea808fdb8e00b6d88d1565314a9e412768.tar.gz
zig-28ef79ea808fdb8e00b6d88d1565314a9e412768.zip
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.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions