File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,9 @@ To see all the flags the proxied tool accepts run `cargo-{} -- --help`.{}",
220
220
. long ( "profile" )
221
221
. value_name ( "PROFILE-NAME" )
222
222
. help ( "Build artifacts with the specified profile" ) ,
223
+ Arg :: new ( "manifest-path" )
224
+ . long ( "manifest-path" )
225
+ . help ( "Path to Cargo.tom" ) ,
223
226
Arg :: new ( "features" )
224
227
. long ( "features" )
225
228
. short ( 'F' )
@@ -492,6 +495,10 @@ fn cargo_build_args<'a>(matches: &'a ArgMatches, cargo: &mut Command) -> (BuildT
492
495
cargo. arg ( profile) ;
493
496
}
494
497
498
+ if let Some ( manifest_path) = matches. get_one :: < String > ( "manifest-path" ) {
499
+ cargo. args ( [ "--manifest-path" , manifest_path] ) ;
500
+ }
501
+
495
502
if let Some ( features) = matches. get_many :: < String > ( "features" ) {
496
503
for feature in features {
497
504
cargo. args ( [ "--features" , feature] ) ;
You can’t perform that action at this time.
0 commit comments