Rust: Rust-analyzer (devShell?) + Neovim + bacon is not playing well. #12
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Currently we need to do
cargo clean
,bacon test
in order to create good/target
.bacon test
and not entirely withcargo build
cargo metadata
, which overwritesCargo.toml
in therustc
/cargo
. These runtimes live in/nix/store
, so they're read-only, which makes rust-analyzer fail.As an attempt to synchronize Rust version everywhere, we'll migrate many projects to use
nix-boost
instead. Hence, this is related to #11.nix-boost
will take care of providing:rust4cargo
: The most barebone rustc install possiblerust4devs
: Dev-friendly rustc installrust4normi
: Recommended install for everyone, basically refers to the default toolchainrust-dev-env
: My own dev environment. At the time of writing, it'srust4devs
withexcvr
andbacon
.after having
std
as a framework,devshell
is a bit tough #19 addresses this.At the moment, we do have a lot of these implemented in
nix-boost
296de75f05/cells/dev/devshells.nix (L7-L81)
Note that this implementation is being gated harshly by numtide/devshell#266