We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e11d9dd commit 0d2d842Copy full SHA for 0d2d842
src/librustdoc/lib.rs
@@ -681,8 +681,14 @@ where R: 'static + Send,
681
}
682
683
684
+ if !plugins.is_empty() && plugin_path.is_none() {
685
+ eprintln!("ERROR: You must pass --plugin-path to use --plugins");
686
+ std::process::exit(1);
687
+ }
688
+
689
690
// Load all plugins/passes into a PluginManager
- let path = plugin_path.unwrap_or("/tmp/rustdoc/plugins".to_string());
691
+ let path = plugin_path.unwrap_or("/usr/lib64/rustdoc/plugins".to_string());
692
let mut pm = plugins::PluginManager::new(PathBuf::from(path));
693
for pass in &passes {
694
let plugin = match passes::PASSES.iter()
0 commit comments