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

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