From e269a7435e80e0c4e02e3a5aa21233ef28892def Mon Sep 17 00:00:00 2001 From: Sébastien Marie Date: Sun, 18 Mar 2018 18:08:17 +0100 Subject: Allow test target to pass without installing explicitly pass -L target-lib to rustdoc --- src/tools/compiletest/src/runtest.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tools/compiletest') diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 953a13a3f58..23bb39215d3 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -1324,6 +1324,8 @@ impl<'test> TestCx<'test> { let mut rustdoc = Command::new(rustdoc_path); rustdoc + .arg("-L") + .arg(self.config.run_lib_path.to_str().unwrap()) .arg("-L") .arg(aux_dir) .arg("-o") -- cgit 1.4.1-3-g733a5