diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-11-29 14:38:22 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-29 14:38:22 +0000 |
| commit | 5db9afd73b8f54ca38f154ce299dd0256e46f33e (patch) | |
| tree | eb740665e295cf1d52eeedc21c7a6f06497aa4f0 /core/testing | |
| parent | 4db4841413095645e2319afcafc1db7276259f9d (diff) | |
| parent | 3e8e0bb110d9a12e7c2a812b7909297cf3f6ade8 (diff) | |
Merge pull request #5963 from Yawning/feature/chacha8rand
runtime: Use chacha8rand as the default RNG (BREAKING)
Diffstat (limited to 'core/testing')
| -rw-r--r-- | core/testing/runner.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/testing/runner.odin b/core/testing/runner.odin index cdb911d15..e0a37c46d 100644 --- a/core/testing/runner.odin +++ b/core/testing/runner.odin @@ -151,9 +151,9 @@ run_test_task :: proc(task: thread.Task) { options = logger_options, } - random_generator_state: runtime.Default_Random_State + random_generator_state: rand.Xoshiro256_Random_State context.random_generator = { - procedure = runtime.default_random_generator_proc, + procedure = rand.xoshiro256_random_generator_proc, data = &random_generator_state, } rand.reset(data.t.seed) |