Skip to content

Commit

Permalink
Add rust-toolchain.toml file
Browse files Browse the repository at this point in the history
This file tells cargo (and other tools, like vscode rust-analyzer
plugin) to use the nightly toolchain by default.

This is needed to correctly open the project in vscode with
rust-analyzer.

We should probably fix a nigthly version, but for now leave it as a
generic `nightly`.
  • Loading branch information
BigBigos committed Nov 23, 2022
1 parent e47a478 commit 3dda461
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust-toolchain.toml
@@ -0,0 +1,2 @@
[toolchain]
channel = "nightly"

0 comments on commit 3dda461

Please sign in to comment.