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 @@ -223,6 +223,9 @@ To see all the flags the proxied tool accepts run `cargo-{} -- --help`.{}",
223
223
. long ( "profile" )
224
224
. value_name ( "PROFILE-NAME" )
225
225
. help ( "Build artifacts with the specified profile" ) ,
226
+ Arg :: new ( "manifest-path" )
227
+ . long ( "manifest-path" )
228
+ . help ( "Path to Cargo.tom" ) ,
226
229
Arg :: new ( "features" )
227
230
. long ( "features" )
228
231
. short ( 'F' )
@@ -510,6 +513,10 @@ fn cargo_build_args<'a>(matches: &'a ArgMatches, cargo: &mut Command) -> (BuildT
510
513
cargo. arg ( profile) ;
511
514
}
512
515
516
+ if let Some ( manifest_path) = matches. get_one :: < String > ( "manifest-path" ) {
517
+ cargo. args ( [ "--manifest-path" , manifest_path] ) ;
518
+ }
519
+
513
520
if let Some ( features) = matches. get_many :: < String > ( "features" ) {
514
521
for feature in features {
515
522
cargo. args ( [ "--features" , feature] ) ;
You can’t perform that action at this time.
0 commit comments