Files
Odin/core
Feoramund d4803583ff Work around Windows test failure
I am uncertain why this works, but it does. Previously, `rtti_test` was
failing due to non-zero data appearing in the `l_buggy` `Buggy_Struct`.

The issue was caused by calling `runtime.default_random_generator` with
a pointer to the state, somehow. The pointer could be on the stack or in
the heap; it did not matter.

I found two workarounds.

- One is to move the RNG setup behind the call to `free_all`.
- The other is to construct the random generator manually.

Despite my digging and testing, I could find no reason as to why this
works or what the fundamental issue was to begin with. If anyone comes
upon this in the future with direct access to a Windows machine, I
recommend stepping through the program with a debugger to investigate
more deeply into why this happens.
2024-06-18 23:21:04 -04:00
..
2024-05-24 13:58:30 +02:00
2024-06-12 13:30:00 +02:00
2024-06-13 11:33:37 +02:00
2024-06-09 17:59:59 +02:00
2024-06-02 14:34:30 -04:00
2024-06-06 14:59:19 +02:00
2024-04-19 10:42:09 +02:00
2024-02-08 15:15:16 +00:00
2024-06-14 19:45:54 +02:00
2024-06-15 15:46:48 +01:00
2024-06-18 23:21:04 -04:00
2024-06-02 14:47:08 -04:00
2024-06-10 23:37:54 -04:00