From 6c3aaf91fec836881862e451cce4b466173e505d Mon Sep 17 00:00:00 2001 From: Yechan Bae Date: Mon, 12 Feb 2024 15:07:31 +0900 Subject: [PATCH] Update markdown newlines --- DEV.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/DEV.md b/DEV.md index 795c395..5da55d6 100644 --- a/DEV.md +++ b/DEV.md @@ -97,6 +97,7 @@ cargo rudra # for crate compilation ### Setup rust-analyzer Run: + ``` cd .. git clone https://github.com/rust-lang/rust.git rust-nightly-2021-10-21 @@ -108,6 +109,7 @@ git submodule update ``` Then, add this to the workspace setting (`.vscode/settings.json`): + ``` { "rust-analyzer.rustc.source": "/Cargo.toml" @@ -115,14 +117,18 @@ Then, add this to the workspace setting (`.vscode/settings.json`): ``` If you have any issues with `rust-analyzer` and proc-macros: + 1. After running the above code, still in the `rust-nightly-2021-10-21` directory, run: + ``` cd src/tools/rust-analyzer cargo build --release ``` + 2. Add this to the workspace setting (`.vscode/settings.json`): + ``` { "rust-analyzer.server.path": "/src/tools/rust-analyzer/target/release/rust-analyzer" } -``` \ No newline at end of file +```