File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ pub fn build_dependencies(config: &Config) -> Result<Dependencies> {
41
41
if let Some ( target) = & config. target {
42
42
cmd. arg ( format ! ( "--target={target}" ) ) ;
43
43
}
44
- cmd. arg ( format ! ( "--manifest-path={}" , manifest_path . display ( ) ) ) ;
44
+ cmd. arg ( "--manifest-path" ) . arg ( manifest_path ) ;
45
45
} ;
46
46
47
47
setup_command ( & mut build) ;
Original file line number Diff line number Diff line change @@ -77,7 +77,10 @@ pub fn run_tests(mut config: Config) -> Result<()> {
77
77
let dependencies = build_dependencies ( & config) ?;
78
78
for ( name, dependency) in dependencies. dependencies {
79
79
config. args . push ( "--extern" . into ( ) ) ;
80
- config. args . push ( format ! ( "{name}={}" , dependency. display( ) ) . into ( ) ) ;
80
+ let mut dep = OsString :: from ( name) ;
81
+ dep. push ( "=" ) ;
82
+ dep. push ( dependency) ;
83
+ config. args . push ( dep) ;
81
84
}
82
85
for import_path in dependencies. import_paths {
83
86
config. args . push ( "-L" . into ( ) ) ;
You can’t perform that action at this time.
0 commit comments