about summary refs log tree commit diff
path: root/tests/run-make/rustdoc-scrape-examples-macros/rmake.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2024-08-15 14:44:48 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2024-08-15 15:44:29 +0200
commitd562a4a5108d0b67ba2a648530aab2b15224a615 (patch)
tree922040591251126bdbf26b7d3e98434d2e32c1c2 /tests/run-make/rustdoc-scrape-examples-macros/rmake.rs
parenta19a8f8e52364b4ce5ade2899b57260dd347c93c (diff)
downloadrust-d562a4a5108d0b67ba2a648530aab2b15224a615.tar.gz
rust-d562a4a5108d0b67ba2a648530aab2b15224a615.zip
About rmake tests
Diffstat (limited to 'tests/run-make/rustdoc-scrape-examples-macros/rmake.rs')
-rw-r--r--tests/run-make/rustdoc-scrape-examples-macros/rmake.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-make/rustdoc-scrape-examples-macros/rmake.rs b/tests/run-make/rustdoc-scrape-examples-macros/rmake.rs
index b77df7adc8d..546a0685b4e 100644
--- a/tests/run-make/rustdoc-scrape-examples-macros/rmake.rs
+++ b/tests/run-make/rustdoc-scrape-examples-macros/rmake.rs
@@ -35,7 +35,7 @@ fn main() {
         .input("examples/ex.rs")
         .crate_name("ex")
         .crate_type("bin")
-        .output(&out_dir)
+        .out_dir(&out_dir)
         .extern_(crate_name, rust_lib_name(crate_name))
         .extern_(proc_crate_name, dylib_name.trim())
         .arg("-Zunstable-options")
@@ -49,7 +49,7 @@ fn main() {
         .input("src/lib.rs")
         .crate_name(crate_name)
         .crate_type("lib")
-        .output(&out_dir)
+        .out_dir(&out_dir)
         .arg("-Zunstable-options")
         .arg("--with-examples")
         .arg(&ex_dir)