Commit 44c4b2b 1 parent a15bc55 commit 44c4b2b Copy full SHA for 44c4b2b
File tree 2 files changed +1
-10
lines changed
src/tools/run-make-support/src
tests/run-make/core-no-fp-fmt-parse
2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -104,15 +104,6 @@ impl Rustc {
104
104
self
105
105
}
106
106
107
- /// Generic file path provider.
108
- pub fn arg_path < P > ( & mut self , path : P ) -> & mut Self
109
- where
110
- P : AsRef < Path > ,
111
- {
112
- self . cmd . arg ( path. as_ref ( ) ) ;
113
- self
114
- }
115
-
116
107
/// Specify the crate type.
117
108
pub fn crate_type ( & mut self , crate_type : & str ) -> & mut Self {
118
109
self . cmd . arg ( "--crate-type" ) ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ fn main() {
11
11
. edition ( "2021" )
12
12
. arg ( "-Dwarnings" )
13
13
. crate_type ( "rlib" )
14
- . arg_path ( "../../../library/core/src/lib.rs" )
14
+ . input ( "../../../library/core/src/lib.rs" )
15
15
. cfg ( "no_fp_fmt_parse" )
16
16
. run ( ) ;
17
17
}
You can’t perform that action at this time.
0 commit comments