Rust RLS on GNOME Builder | GNOME 3.26

alex285
alex285
Nov 1, 2017 · 2 min read
video is on Arch Linux with JHBuild

get Builder!

sudo apt install gnome-builder
flatpak install --from https://flathub.org/repo/appstream/org.gnome.Builder.flatpakref

get Rustup!

curl https://sh.rustup.rs -sSf | sh
rustup install/update nightly
rustup default nightly
rustup update
im using Builder 3.27.1+Git and Rust 1.23.0-nightly

get RLS!

rustup component add rls-preview --toolchain nightly
rustup component add rust-analysis --toolchain nightly
rustup component add rust-src --toolchain nightly

get Racer?

cargo install racer
export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"
/home/alex/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src
export RUST_SRC_PATH=$HOME/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src

that was All!

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade