adding rust-management.txt

This commit is contained in:
2019-11-21 01:19:44 +00:00
parent e13f28ccf7
commit 15a4aec9d1
2 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

View File

@@ -0,0 +1,58 @@
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/