Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/release.rs')
-rw-r--r--xtask/src/release.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/xtask/src/release.rs b/xtask/src/release.rs
index 4a30691477..1a5e6dfb4c 100644
--- a/xtask/src/release.rs
+++ b/xtask/src/release.rs
@@ -2,7 +2,7 @@ mod changelog;
use xshell::{cmd, Shell};
-use crate::{date_iso, flags, is_release_tag, project_root};
+use crate::{codegen, date_iso, flags, is_release_tag, project_root};
impl flags::Release {
pub(crate) fn run(self, sh: &Shell) -> anyhow::Result<()> {
@@ -23,8 +23,8 @@ impl flags::Release {
}
// Generates bits of manual.adoc.
- cmd!(sh, "cargo test -p ide-assists -p ide-diagnostics -p rust-analyzer -- sourcegen_")
- .run()?;
+ codegen::diagnostics_docs::generate(false);
+ codegen::assists_doc_tests::generate(false);
let website_root = project_root().join("../rust-analyzer.github.io");
{