Missed a couple of .to_str().unwrap()s

This commit is contained in:
Richard Feldman 2022-11-22 18:51:01 -05:00
parent 2d83c95d23
commit 16fd39c4f7
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
2 changed files with 5 additions and 2 deletions

View file

@ -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"]);