remove the unstable rustdoc parameter --linker
use the code generation parameter -Clinker (same parameter as rustc) to control what linker to use for building the rustdoc test executables. closes: #63816
This commit is contained in:
@@ -266,9 +266,6 @@ fn run_test(
|
||||
for codegen_options_str in &options.codegen_options_strs {
|
||||
compiler.arg("-C").arg(&codegen_options_str);
|
||||
}
|
||||
if let Some(linker) = options.linker {
|
||||
compiler.arg(&format!("-C linker={:?}", linker));
|
||||
}
|
||||
if no_run {
|
||||
compiler.arg("--emit=metadata");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user