Skip to content

Commit 0865e5a

Browse files
committed
Set RUSTDOCFLAGS again
Was accidentally removed in 808cba2
1 parent f626185 commit 0865e5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build_system/tests.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,8 @@ impl TestRunner {
548548
let host_compiler = Compiler::clif_with_triple(&dirs, host_triple);
549549

550550
let mut target_compiler = Compiler::clif_with_triple(&dirs, target_triple);
551-
target_compiler.rustflags = rustflags;
551+
target_compiler.rustflags = rustflags.clone();
552+
target_compiler.rustdocflags = rustflags;
552553
target_compiler.runner = runner;
553554

554555
Self { is_native, jit_supported, dirs, host_compiler, target_compiler }

0 commit comments

Comments
 (0)