correct path and add TODO

This commit is contained in:
Brendan Hansknecht 2023-11-05 12:42:59 -08:00
parent 8e86640bd7
commit 6006891889
No known key found for this signature in database
GPG key ID: 0EA784685083E75B

View file

@ -151,10 +151,12 @@ fn main() -> io::Result<()> {
function_kind,
);
// TODO: pipeline the executable location through here.
// Currently it is essentally hardcoded as platform_path/dynhost.
roc_linker::preprocess_host(
&triple,
&platform_path.with_file_name("main.roc"),
&platform_path.with_file_name("linux-x64.rh"),
&platform_path.with_file_name(format!("{}.rh", target)),
&stub_lib,
&stub_dll_symbols,
);