aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.zig
diff options
context:
space:
mode:
authorCody Tapscott <topolarity@tapscott.me>2022-06-10 07:21:54 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-06-10 21:59:39 -0400
commit9b05474d797ea4600dbae36ae95d9eb042040bb2 (patch)
tree0ef7792ba1ca44026a287ec2360e61b4268f0b39 /src/codegen.zig
parent62023c60b4809aee5b23a62c70927075fcce3375 (diff)
downloadzig-9b05474d797ea4600dbae36ae95d9eb042040bb2.tar.gz
zig-9b05474d797ea4600dbae36ae95d9eb042040bb2.zip
ThreadPool: Make join() a no-op in single-threaded mode
This comptime gate is needed to make sure that purely single-threaded programs don't generate calls to the std.Thread API. WASI targets successfully build again with this change.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions