Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 10f79dd

Browse files
Rust toolchain
1 parent e89bcc3 commit 10f79dd

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

‎README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Handy list of oft-used Linux commands that I will never remember. Not intended t
3232
- [Machine Learning Toolchain](#machine-learning-toolchain)
3333
- [Install Tensorflow GPU](#install-tensorflow-gpu)
3434
- [Disable Tensorflow debug messages](#disable-tensorflow-debug-messages)
35+
- [Rust Toolchain](#rust-toolchain)
36+
3537
## Shell 101
3638

3739
### List directory contents with size
@@ -428,3 +430,26 @@ Add the following **before** importing `tensorflow`
428430
import os
429431
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
430432
```
433+
434+
## Rust Toolchain
435+
436+
### Adding Rust to Fish
437+
```bash
438+
# https://github.com/rust-lang/rustup/issues/478#issuecomment-330467741
439+
export PATH="$HOME/.cargo/bin:$PATH" # add to ~/.config/fish/config.fish
440+
```
441+
442+
### Adding Rust to VS Code
443+
Add to `settings.json` as discussed [here](https://stackoverflow.com/a/66001600)
444+
445+
```json
446+
{
447+
"rust-client.rustupPath": "~/.cargo/bin/rustup"
448+
}
449+
```
450+
451+
### Tab Completion
452+
```bash
453+
$ mkdir -p ~/.config/fish/completions
454+
$ rustup completions fish > ~/.config/fish/completions/rustup.fish
455+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /