59 lines
1.2 KiB
Plaintext
59 lines
1.2 KiB
Plaintext
Managing rust versions:
|
|
|
|
https://doc.rust-lang.org/nightly/edition-guide/rust-2018/rustup-for-managing-rust-versions.html
|
|
|
|
rustup set profile default/nightly - to change profiles
|
|
https://github.com/rust-lang/rustup
|
|
|
|
rustup toolchain list
|
|
|
|
rustup toolchain install stable/nightly
|
|
|
|
rustup component add rls rust-analysis rust-src
|
|
|
|
rustup component list | grep installed
|
|
|
|
rust-analysis rust-src rustfmt-preview rls-preview
|
|
|
|
|
|
rust-management.sublime-project
|
|
```
|
|
{
|
|
"folders":
|
|
[
|
|
{
|
|
"path": "/Users/dtomlinson/projects-rust"
|
|
},
|
|
{
|
|
"path": "/Users/dtomlinson/git-repos"
|
|
}
|
|
],
|
|
"settings":
|
|
{
|
|
"LSP":
|
|
{
|
|
"log_debug": true,
|
|
"log_payloads": false,
|
|
"log_server": true,
|
|
"log_stderr": true,
|
|
"only_show_lsp_completions": false,
|
|
"rls":
|
|
{
|
|
"enabled": true
|
|
}
|
|
},
|
|
"cargo_build":
|
|
{
|
|
"defaults":
|
|
{
|
|
"toolchain": "nightly"
|
|
}
|
|
},
|
|
"rust_syntax_checking": false
|
|
}
|
|
}
|
|
```
|
|
|
|
https://www.reddit.com/r/rust/comments/a40www/sublime_text_3_question/
|
|
|