create rust-analyzer.sh script
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 11s
Gentoo Utils / build (push) Successful in 35s

This script should be ran by the LSP server to get error diagnostics.
This commit is contained in:
2025-12-12 03:25:24 +00:00
parent e67e20ef29
commit 8b700b0404
2 changed files with 14 additions and 2 deletions

12
rust-analyzer.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# this script is a temporary workaround for not having a proper clippy-json target
source /etc/profile
cd build || exit $?
# compile as far as we can
ninja
ninja clippy-json