Skip to content

Commit 44c4b2b

Browse files
committed
delete arg_path, change arg_path to input
1 parent a15bc55 commit 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

src/tools/run-make-support/src/rustc.rs

-9
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,6 @@ impl Rustc {
104104
self
105105
}
106106

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-
116107
/// Specify the crate type.
117108
pub fn crate_type(&mut self, crate_type: &str) -> &mut Self {
118109
self.cmd.arg("--crate-type");

tests/run-make/core-no-fp-fmt-parse/rmake.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fn main() {
1111
.edition("2021")
1212
.arg("-Dwarnings")
1313
.crate_type("rlib")
14-
.arg_path("../../../library/core/src/lib.rs")
14+
.input("../../../library/core/src/lib.rs")
1515
.cfg("no_fp_fmt_parse")
1616
.run();
1717
}

0 commit comments

Comments
 (0)