mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
allow configure of whether roc_alloc is generated
This commit is contained in:
parent
f921bfc1a7
commit
66be08d073
8 changed files with 47 additions and 15 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue