fix plumbing for roc_glue

This commit is contained in:
Luke Boswell 2024-08-18 15:05:57 +10:00
parent ac78d393f9
commit 861222078e
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
3 changed files with 76 additions and 68 deletions

View file

@ -77,9 +77,9 @@ pub fn generate(
let tempdir_res = tempfile::tempdir();
// TODO confirm these are the correct parameters to pass down.
// are we building a host here in glue generation?
let build_host = true;
// we don't need a host for glue, we will generate a dylib
// that will be loaded by the roc compiler/cli
let build_host = false;
let suppress_build_host_warning = true;
let res_binary_path = match tempdir_res {