Skip to content

Commit 578f532

Browse files
authored
[ubuntu-dev] temporarily unship rust language server
Until rust-lang/rls#611 is fixed.
1 parent 1c8906d commit 578f532

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

ubuntu-dev/ubuntu-dev.dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,12 @@ RUN rustup install nightly \
157157
&& rustup completions bash | sudo tee /etc/bash_completion.d/rustup.bash-completion
158158

159159
# Install the latest Rust Language Server.
160-
RUN rustup component add rls-preview --toolchain nightly \
161-
&& rustup component add rust-analysis --toolchain nightly \
162-
&& rustup component add rust-src --toolchain nightly \
163-
&& echo "RUST_SRC_PATH=\"/home/user/.multirust/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src\"" >> /home/user/.bashrc
160+
# FIXME: Re-enable this when `rls-preview` build is fixed in Rust Nightly.
161+
# Reference: https://github.com/rust-lang-nursery/rls/issues/611
162+
#RUN rustup component add rls-preview --toolchain nightly \
163+
# && rustup component add rust-analysis --toolchain nightly \
164+
# && rustup component add rust-src --toolchain nightly \
165+
# && echo "RUST_SRC_PATH=\"/home/user/.multirust/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src\"" >> /home/user/.bashrc
164166

165167
# Install the latest ripgrep, rustfmt and clippy.
166168
RUN cargo install ripgrep \

0 commit comments

Comments
 (0)