$ git clone https://github.com/rust-analyzer/rust-analyzer.git && cd rust-analyzer $ cargo xtask install
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,
OK, never mind. This did the trick:
cargo --verbose xtask install --server.
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
The RFC @Florian Diebold referred to is rust-lang/rfcs#2912