Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Benjamin Bouvier 馃
@bnjbvr@tutut.delire.party  路  activity timestamp 2 weeks ago

TIL a nice #Rust trick: you can request that rust-analyzer uses a different target directory than the default one used for the `dev` env. This makes it possible to use `cargo` commands while rust-analyzer is analyzing code in the background, at the expense of some extra taken disk storage.

https://rust-analyzer.github.io/book/configuration.html#cargo.targetDir

#RustLang #RustAnalyzer

  • Copy link
  • Flag this post
  • Block
Alan Zimmerman
@alanz@social.coop replied  路  activity timestamp 2 weeks ago

@bnjbvr in Emacs lsp-mode too, as an option.

https://github.com/emacs-lsp/lsp-mode/pull/4870

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.0-rc.3.1 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login