diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-03-13 11:28:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-13 11:28:35 +0100 |
| commit | ad23e9d705a42cefee332c1a5a0f405856968ddb (patch) | |
| tree | 1d031cfa17d6986a35878c166d8dda36431a233f /src/librustdoc/doctest.rs | |
| parent | 459d5b5807fff8c2065e14fd17ace408c92c37c6 (diff) | |
| parent | 1543256e6f5f8a46e5acbee7bcb39354ece10010 (diff) | |
| download | rust-ad23e9d705a42cefee332c1a5a0f405856968ddb.tar.gz rust-ad23e9d705a42cefee332c1a5a0f405856968ddb.zip | |
Rollup merge of #138404 - bjorn3:sysroot_handling_cleanup, r=petrochenkov,jieyouxu
Cleanup sysroot locating a bit All commits should preserve existing behavior.
Diffstat (limited to 'src/librustdoc/doctest.rs')
| -rw-r--r-- | src/librustdoc/doctest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/doctest.rs b/src/librustdoc/doctest.rs index f7f0c9766e2..a2808bddb3a 100644 --- a/src/librustdoc/doctest.rs +++ b/src/librustdoc/doctest.rs @@ -158,7 +158,7 @@ pub(crate) fn run(dcx: DiagCtxtHandle<'_>, input: Input, options: RustdocOptions if options.proc_macro_crate { vec![CrateType::ProcMacro] } else { vec![CrateType::Rlib] }; let sessopts = config::Options { - maybe_sysroot: options.maybe_sysroot.clone(), + sysroot: options.sysroot.clone(), search_paths: options.libs.clone(), crate_types, lint_opts, |
