adding rust-management.txt
This commit is contained in:
3
rust-book/chapter-1/hellow_world/main.rs
Normal file
3
rust-book/chapter-1/hellow_world/main.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
58
rust-book/rust-management.txt
Normal file
58
rust-book/rust-management.txt
Normal 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/
|
||||
|
||||
Reference in New Issue
Block a user