Fix a missing .to_str()

This commit is contained in:
Richard Feldman 2022-11-22 20:58:17 -05:00
parent 18fdc54022
commit 4e50d3fe2e
No known key found for this signature in database
GPG Key ID: F1F21AA5B1D9E43B

View File

@ -124,7 +124,7 @@ pub fn build_zig_host_native(
"-fPIE", "-fPIE",
"-rdynamic", // make sure roc_alloc and friends are exposed "-rdynamic", // make sure roc_alloc and friends are exposed
shared_lib_path.to_str().unwrap(), shared_lib_path.to_str().unwrap(),
builtins_host_path, builtins_host_path.to_str().unwrap(),
]); ]);
} else { } else {
zig_cmd.args(["build-obj", "-fPIC"]); zig_cmd.args(["build-obj", "-fPIC"]);