Skip to content

Allocators in testing #1286

@IntegratedQuantum

Description

@IntegratedQuantum

The main.stackAllocator and main.globalAllocator are not initialized during testing, this prevents us from testing and leak testing things that use these in temporary allocation.

It would be nice to re-route them to the testing allocator when running a test. (builtin.is_test)

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlythis issue is limited in scope and/or knowledge of Cubyz internals, good for newcomerstestingAdd tests for things

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions