Set RUSTDOCFLAGS again

Was accidentally removed in 808cba2
This commit is contained in:
bjorn3
2022-12-15 11:41:06 +00:00
parent f626185a5b
commit 0865e5a452
+2 -1
View File
@@ -548,7 +548,8 @@ pub fn new(dirs: Dirs, host_triple: String, target_triple: String) -> Self {
let host_compiler = Compiler::clif_with_triple(&dirs, host_triple);
let mut target_compiler = Compiler::clif_with_triple(&dirs, target_triple);
target_compiler.rustflags = rustflags;
target_compiler.rustflags = rustflags.clone();
target_compiler.rustdocflags = rustflags;
target_compiler.runner = runner;
Self { is_native, jit_supported, dirs, host_compiler, target_compiler }