diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2024-06-07 14:07:02 +0200 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2024-06-07 14:07:02 +0200 |
| commit | c9cb3280f365621d724d4f07a8dc96b325a107c9 (patch) | |
| tree | 4ff3aba7904249d373c43e7c791daf731d9e2a3c /tests/run-make/rustdoc-scrape-examples-macros | |
| parent | 4b0842f3cedc26ba841b6e8fb7314da2048c5ee2 (diff) | |
| download | rust-c9cb3280f365621d724d4f07a8dc96b325a107c9.tar.gz rust-c9cb3280f365621d724d4f07a8dc96b325a107c9.zip | |
Address review comments
Diffstat (limited to 'tests/run-make/rustdoc-scrape-examples-macros')
| -rw-r--r-- | tests/run-make/rustdoc-scrape-examples-macros/rmake.rs | 4 |
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 2daaab76e54..c99112b6e5f 100644 --- a/tests/run-make/rustdoc-scrape-examples-macros/rmake.rs +++ b/tests/run-make/rustdoc-scrape-examples-macros/rmake.rs @@ -1,6 +1,6 @@ //@ ignore-cross-compile -use run_make_support::{htmldocck, rustc, rustdoc}; +use run_make_support::{htmldocck, rustc, rustdoc, rust_lib_name}; fn main() { let out_dir = "rustdoc"; @@ -40,7 +40,7 @@ fn main() { .crate_name("ex") .crate_type("bin") .output(&out_dir) - .extern_(crate_name, format!("lib{crate_name}.rlib")) + .extern_(crate_name, rust_lib_name(crate_name)) .extern_(proc_crate_name, dylib_name.trim()) .arg("-Zunstable-options") .arg("--scrape-examples-output-path") |
