Skip to content

Commit 8dd3f55

Browse files
committed
Improved rs port.
1 parent 9073c1c commit 8dd3f55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/ports/rs_port/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ fn find_metacall_library() -> Result<LibraryPath, Box<dyn std::error::Error>> {
173173
.into())
174174
}
175175

176-
fn define_library_search_path(env_var: &str, separator: &str, path: &PathBuf) -> String {
176+
fn define_library_search_path(env_var: &str, separator: &str, path: &Path) -> String {
177177
// Get the current value of the env var, if any
178178
let existing = env::var(env_var).unwrap_or_default();
179179
let path_str: String = String::from(path.to_str().unwrap());

0 commit comments

Comments
 (0)