File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ fn platform_install_paths() -> Result<InstallPath, Box<dyn std::error::Error>> {
6262 println ! ( "windows" ) ;
6363 Ok ( InstallPath {
6464 paths : vec ! [ PathBuf :: from( local_app_data)
65- . join( "Metacall " )
65+ . join( "MetaCall " )
6666 . join( "metacall" ) ] ,
6767 name : "metacall.dll" . to_string ( ) ,
6868 } )
@@ -116,7 +116,7 @@ fn find_metacall_library() -> Result<PathBuf, Box<dyn std::error::Error>> {
116116 // Only search at depth 0 (current directory)
117117 match find_files_recursively ( search_path, & search_config. name , Some ( 0 ) ) {
118118 Ok ( files) if !files. is_empty ( ) => {
119- let found_lib = & files[ 0 ] ;
119+ let found_lib = fs :: canonicalize ( & files[ 0 ] ) ? ;
120120 println ! (
121121 "cargo:warning=Found MetaCall library: {}" ,
122122 found_lib. display( )
You can’t perform that action at this time.
0 commit comments