diff --git a/Cargo.toml b/Cargo.toml index f994fdff3e02..f9d09ee32c50 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -263,13 +263,15 @@ tokio-test = "0.4" [build-dependencies] rust2go = { workspace = true, features = ["build"] } -# This needs to be set as default. Otherwise, a regular build or test will produce -# gargantuan artifacts (around 70G for all tests). For a debugging session, you can -# temporarily comment it out. +# https://doc.rust-lang.org/stable/cargo/guide/build-performance.html#reduce-amount-of-generated-debug-information [profile.dev] -debug = 0 +debug = "line-tables-only" split-debuginfo = "unpacked" +# Avoid generating any debug information for dependencies +[profile.dev.package."*"] +debug = false + # Profile for interactive debugging sessions, e.g., with LLDB. # Doesn't work with Go FFI - disable it with `FOREST_F3_SIDECAR_FFI_BUILD_OPT_OUT=1`. [profile.debugging] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index bc0a38929fb2..d1895f385f3c 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.91.0" +channel = "1.92.0" components = ["clippy", "llvm-tools-preview", "rustfmt"] diff --git a/src/chain_sync/tipset_syncer.rs b/src/chain_sync/tipset_syncer.rs index 9c65f3e83312..162d8b5376d6 100644 --- a/src/chain_sync/tipset_syncer.rs +++ b/src/chain_sync/tipset_syncer.rs @@ -33,7 +33,7 @@ use itertools::Itertools; use nunny::Vec as NonEmpty; use thiserror::Error; use tokio::task::JoinSet; -use tracing::{error, trace, warn}; +use tracing::{trace, warn}; use crate::chain_sync::{consensus::collect_errs, metrics, validation::TipsetValidator}; diff --git a/src/wallet/subcommands/wallet_cmd.rs b/src/wallet/subcommands/wallet_cmd.rs index 27d63d91260c..ebf9d4e174e1 100644 --- a/src/wallet/subcommands/wallet_cmd.rs +++ b/src/wallet/subcommands/wallet_cmd.rs @@ -35,7 +35,7 @@ use crate::{ }; use anyhow::{Context as _, bail}; use base64::{Engine, prelude::BASE64_STANDARD}; -use clap::{Subcommand, arg}; +use clap::Subcommand; use dialoguer::{Password, console::Term, theme::ColorfulTheme}; use directories::ProjectDirs; use num::Zero as _;