Switch to Rust 1.66.0 and remove RUST_LOG which caused all Rust apps to log.
This commit is contained in:
parent
b291685a98
commit
efe60a960e
1 changed files with 2 additions and 6 deletions
|
|
@ -38,7 +38,7 @@
|
||||||
inherit system;
|
inherit system;
|
||||||
overlays = [ (import rust-overlay) devshell.overlay ];
|
overlays = [ (import rust-overlay) devshell.overlay ];
|
||||||
};
|
};
|
||||||
rust = pkgs.rust-bin.stable."1.64.0";
|
rust = pkgs.rust-bin.stable."1.66.0";
|
||||||
llvm = pkgs.llvmPackages_latest;
|
llvm = pkgs.llvmPackages_latest;
|
||||||
# treefmt-nix configuration
|
# treefmt-nix configuration
|
||||||
treefmt.config = {
|
treefmt.config = {
|
||||||
|
|
@ -104,7 +104,7 @@
|
||||||
value = "${llvm.libclang}/lib";
|
value = "${llvm.libclang}/lib";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
# for rust-anaylzer
|
# for rust-analyzer
|
||||||
name = "RUST_SRC_PATH";
|
name = "RUST_SRC_PATH";
|
||||||
value = "${rust.rust-src}";
|
value = "${rust.rust-src}";
|
||||||
}
|
}
|
||||||
|
|
@ -112,10 +112,6 @@
|
||||||
name = "RUST_BACKTRACE";
|
name = "RUST_BACKTRACE";
|
||||||
value = "1";
|
value = "1";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
name = "RUST_LOG";
|
|
||||||
value = "info";
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
name = "DEVSHELL_NO_MOTD";
|
name = "DEVSHELL_NO_MOTD";
|
||||||
value = "1";
|
value = "1";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue