diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-12-19 15:11:54 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-12-19 15:11:54 -0500 |
| commit | 88d1bde371ba6bec42952f7cce242afd41f524d9 (patch) | |
| tree | 05107286ad028ae22a4bbcef8a776e7115817c5f /stdlib/rng.c | |
| parent | ef546696e825359ccfd865648eb0ca5cf87233f1 (diff) | |
RNG needs to not be thread-local to make GC happy
Diffstat (limited to 'stdlib/rng.c')
| -rw-r--r-- | stdlib/rng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/rng.c b/stdlib/rng.c index 9558f96b..c6bcfa5d 100644 --- a/stdlib/rng.c +++ b/stdlib/rng.c @@ -18,7 +18,7 @@ #include "chacha.h" -public _Thread_local RNG_t default_rng = NULL; +public RNG_t default_rng = NULL; struct RNGState_t { chacha_ctx chacha; |
