| author | |
| committer | |
| log | 19f893c6bbb3f5ab4e8d943b0ac2fefa94e5d666 |
| tree | 4c2e7d48556331af75427afbce552f9376c7a132 |
| parent | ad301d687a2c75c1bf692a945b536765055c94f7 |
1 files changed, 3 insertions(+), 1 deletions(-)
lib/std/Thread.zig+3-1| ... | @@ -554,5 +554,7 @@ pub fn getCurrentThreadId() u64 { | ... | @@ -554,5 +554,7 @@ pub fn getCurrentThreadId() u64 { |
| 554 | } | 554 | } |
| 555 | 555 | ||
| 556 | test "" { | 556 | test "" { |
| 557 | std.testing.refAllDecls(@This()); | 557 | if (!builtin.single_threaded) { |
| 558 | std.testing.refAllDecls(@This()); | ||
| 559 | } | ||
| 558 | } | 560 | } |