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 @@ pub fn helper(
module_id,
exposed_to_host: exposed_to_host.top_level_values.keys().copied().collect(),
lazy_literals,
generate_allocators: true, // Needed for testing, since we don't have a platform
mode: roc_gen_dev::AssemblyBackendMode::Test,
};
let target = target_lexicon::Triple::host();