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> {
4141 if let Some ( target) = & config. target {
4242 cmd. arg ( format ! ( "--target={target}" ) ) ;
4343 }
44- cmd. arg ( format ! ( "--manifest-path={}" , manifest_path . display ( ) ) ) ;
44+ cmd. arg ( "--manifest-path" ) . arg ( manifest_path ) ;
4545 } ;
4646
4747 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<()> {
7777 let dependencies = build_dependencies ( & config) ?;
7878 for ( name, dependency) in dependencies. dependencies {
7979 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) ;
8184 }
8285 for import_path in dependencies. import_paths {
8386 config. args . push ( "-L" . into ( ) ) ;
You can’t perform that action at this time.
0 commit comments