about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/tests.rs
diff options
context:
space:
mode:
authorLukas Wirth <lukas.wirth@ferrous-systems.com>2024-03-06 10:19:34 +0100
committerLukas Wirth <lukas.wirth@ferrous-systems.com>2024-03-25 22:19:41 +0000
commit2fae4ee92ea9a28722673df442112446f7521079 (patch)
treea0542cc2df6422c03afe7cc9dbade9e67f22d675 /compiler/rustc_interface/src/tests.rs
parent9ae4e3eb7ca9f9e6c61cedcd8c32f790867a4b37 (diff)
downloadrust-2fae4ee92ea9a28722673df442112446f7521079.tar.gz
rust-2fae4ee92ea9a28722673df442112446f7521079.zip
Make sysroot mandatory for rustdoc
Diffstat (limited to 'compiler/rustc_interface/src/tests.rs')
-rw-r--r--compiler/rustc_interface/src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index 8e43d6974fe..3b78e6a43ab 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -317,7 +317,7 @@ fn test_search_paths_tracking_hash_different_order() {
 
     let push = |opts: &mut Options, search_path| {
         opts.search_paths.push(SearchPath::from_cli_opt(
-            None,
+            "not-a-sysroot".as_ref(),
             &opts.target_triple,
             &early_dcx,
             search_path,