diff options
| author | Lucas Perlind <perlindluca@gmail.com> | 2025-04-27 22:47:03 +1000 |
|---|---|---|
| committer | Lucas Perlind <perlindluca@gmail.com> | 2025-04-27 22:47:03 +1000 |
| commit | 65b4c793f011ab67ad51773273ebc4333c12bff5 (patch) | |
| tree | 3d53457878120d7f6431aef068590e3be050e743 /src/path.cpp | |
| parent | c7f9d2b1b78b5bad6c677bf649abafcc5c5270c1 (diff) | |
Add -vet-explicit-allocators
This vet flag will make it so that allocators must be explicitly used
in places where context.allocator and context.temp_allocator are a
procedure parameter.
The goal of this flag is to prevent using the context.allocator in
cases where a different allocator was meant to be used.
Some code bases default context.allocator to nil/panic allocator
to catch this at runtime. This effectively makes it a compile
time error instead.
Diffstat (limited to 'src/path.cpp')
0 files changed, 0 insertions, 0 deletions