We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a15bc55 commit 44c4b2bCopy full SHA for 44c4b2b
src/tools/run-make-support/src/rustc.rs
@@ -104,15 +104,6 @@ impl Rustc {
104
self
105
}
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
/// Specify the crate type.
117
pub fn crate_type(&mut self, crate_type: &str) -> &mut Self {
118
self.cmd.arg("--crate-type");
tests/run-make/core-no-fp-fmt-parse/rmake.rs
@@ -11,7 +11,7 @@ fn main() {
11
.edition("2021")
12
.arg("-Dwarnings")
13
.crate_type("rlib")
14
- .arg_path("../../../library/core/src/lib.rs")
+ .input("../../../library/core/src/lib.rs")
15
.cfg("no_fp_fmt_parse")
16
.run();
17
0 commit comments