Skip to content

Commit 73d83fc

Browse files
committed
shell: Add llvm-tools-preview and cargo-llvm-cov
1 parent 7cc1f04 commit 73d83fc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
22
channel = "1.70.0"
3-
components = ["rustfmt", "rust-src"]
3+
components = ["rustfmt", "rust-src", "llvm-tools-preview"]

shell.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ in
55
pkgs.mkShell {
66
nativeBuildInputs = with pkgs; [
77
(toolchain.override {
8-
extensions = ["rust-src" "clippy"];
8+
extensions = ["rust-src" "clippy" "llvm-tools-preview"];
99
})
1010
rust-analyzer
1111
cargo-flamegraph
12+
cargo-llvm-cov
1213
];
1314
RUST_BACKTRACE = "1";
1415
}

0 commit comments

Comments
 (0)