allow configure of whether roc_alloc is generated

This commit is contained in:
Folkert 2023-04-30 13:53:19 +02:00
parent f921bfc1a7
commit 66be08d073
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
8 changed files with 47 additions and 15 deletions

View file

@ -190,7 +190,7 @@ fn build_object<'a, B: Backend<'a>>(
);
*/
if backend.env().generate_allocators {
if backend.env().mode.generate_allocators() {
generate_wrapper(
&mut backend,
&mut output,