James Christopher Ray
1 min readApr 26, 2018

--

Do that with:

rustup component add rust-src

rustc --print sysroot

Then copy and paste that output, append /lib/rustlib/src/rust/src to it, and copy and paste all of that into user settings for “rust.rustLangSrcPath”, e.g. "rust.rustLangSrcPath": "/home/james/.rustup/toolchains/stable-x86_64-unknown-linux-gnu//lib/rustlib/src/rust/src",

--

--

James Christopher Ray
James Christopher Ray

Written by James Christopher Ray

The plant in the foreground of my gravatar is a pineapple plant, planted from the top of a pineapple at my Grandma’s house. The photo was taken in 2015.

No responses yet