mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-21 15:59:20 +03:00
Missed a couple of .to_str().unwrap()s
This commit is contained in:
parent
3d6b383a4e
commit
806e3e2ac7
@ -155,7 +155,7 @@ pub fn build_zig_host_native(
|
||||
"-fPIE",
|
||||
"-rdynamic", // make sure roc_alloc and friends are exposed
|
||||
shared_lib_path.to_str().unwrap(),
|
||||
builtins_host_file.path(),
|
||||
builtins_host_file.path().to_str().unwrap(),
|
||||
]);
|
||||
} else {
|
||||
zig_cmd.args(["build-obj", "-fPIC"]);
|
||||
|
@ -202,7 +202,10 @@ pub fn helper(
|
||||
app_o_file.clone(),
|
||||
// Long term we probably want a smarter way to link in zig builtins.
|
||||
// With the current method all methods are kept and it adds about 100k to all outputs.
|
||||
&[app_o_file.to_str().unwrap(), &builtins_host_file.path()],
|
||||
&[
|
||||
app_o_file.to_str().unwrap(),
|
||||
builtins_host_file.path().to_str().unwrap(),
|
||||
],
|
||||
LinkType::Dylib,
|
||||
)
|
||||
.expect("failed to link dynamic library");
|
||||
|
Loading…
Reference in New Issue
Block a user