Skip to content

Commit

Permalink
Update markdown newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwaz committed Feb 12, 2024
1 parent 963968d commit 6c3aaf9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -108,21 +109,26 @@ git submodule update
```

Then, add this to the workspace setting (`.vscode/settings.json`):

```
{
"rust-analyzer.rustc.source": "<your path to rust-nightly-2021-10-21>/Cargo.toml"
}
```

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": "<your path to rust-nightly-2021-10-21>/src/tools/rust-analyzer/target/release/rust-analyzer"
}
```
```

0 comments on commit 6c3aaf9

Please sign in to comment.