Stream: general

Topic: rls


Mohamed Bana (Apr 24 2020 at 11:10, on Zulip):

Hello,

$ git clone https://github.com/rust-analyzer/rust-analyzer.git && cd rust-analyzer
$ cargo xtask install

https://rust-analyzer.github.io/manual.html

How do I pass in the --release? I want to make my own custom build of RLS with export RUSTFLAGS="-C target-cpu=znver2 -C link-arg=-fuse-ld=lld -C codegen-units=1".

Thanks a lot,

Mohamed Bana (Apr 24 2020 at 11:34, on Zulip):

OK, never mind. This did the trick:cargo --verbose xtask install --server.
Bye.

Florian Diebold (Apr 24 2020 at 11:42, on Zulip):

btw, RLS != rust-analyzer, and RA will (right now) not take over the name even when/if the RFC to make it official gets accepted, as far as I know

bjorn3 (Apr 24 2020 at 11:44, on Zulip):

The RFC @Florian Diebold referred to is rust-lang/rfcs#2912

Last update: May 29 2020 at 18:00UTC