Skip to content

Commit a9fee74

Browse files
authored
chore: bump rust toolchain to 1.92.0 (#6336)
1 parent 8093469 commit a9fee74

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,13 +263,15 @@ tokio-test = "0.4"
263263
[build-dependencies]
264264
rust2go = { workspace = true, features = ["build"] }
265265

266-
# This needs to be set as default. Otherwise, a regular build or test will produce
267-
# gargantuan artifacts (around 70G for all tests). For a debugging session, you can
268-
# temporarily comment it out.
266+
# https://doc.rust-lang.org/stable/cargo/guide/build-performance.html#reduce-amount-of-generated-debug-information
269267
[profile.dev]
270-
debug = 0
268+
debug = "line-tables-only"
271269
split-debuginfo = "unpacked"
272270

271+
# Avoid generating any debug information for dependencies
272+
[profile.dev.package."*"]
273+
debug = false
274+
273275
# Profile for interactive debugging sessions, e.g., with LLDB.
274276
# Doesn't work with Go FFI - disable it with `FOREST_F3_SIDECAR_FFI_BUILD_OPT_OUT=1`.
275277
[profile.debugging]

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "1.91.0"
2+
channel = "1.92.0"
33
components = ["clippy", "llvm-tools-preview", "rustfmt"]

src/chain_sync/tipset_syncer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ use itertools::Itertools;
3333
use nunny::Vec as NonEmpty;
3434
use thiserror::Error;
3535
use tokio::task::JoinSet;
36-
use tracing::{error, trace, warn};
36+
use tracing::{trace, warn};
3737

3838
use crate::chain_sync::{consensus::collect_errs, metrics, validation::TipsetValidator};
3939

src/wallet/subcommands/wallet_cmd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ use crate::{
3535
};
3636
use anyhow::{Context as _, bail};
3737
use base64::{Engine, prelude::BASE64_STANDARD};
38-
use clap::{Subcommand, arg};
38+
use clap::Subcommand;
3939
use dialoguer::{Password, console::Term, theme::ColorfulTheme};
4040
use directories::ProjectDirs;
4141
use num::Zero as _;

0 commit comments

Comments
 (0)