diff --git a/Cargo.toml b/Cargo.toml index 4fe0e75..546408c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -113,6 +113,9 @@ plotx-figure = { path = "crates/figure" } plotx-render = { path = "crates/render" } plotx-core = { path = "crates/core", default-features = false } +[profile.dev] +debug = 0 + # Keep numerical hot paths responsive in debug builds. [profile.dev.package.plotx-analysis] opt-level = 3 @@ -124,17 +127,8 @@ opt-level = 3 [profile.dev.package.rustfft] opt-level = 2 -[profile.pr-check] -inherits = "dev" -debug = 0 -incremental = false - -[profile.pr-check.package."*"] -opt-level = 0 - [profile.release] -lto = "thin" -codegen-units = 1 -debug = "line-tables-only" -split-debuginfo = "packed" +lto = false +codegen-units = 16 +debug = 0 strip = true diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 46d2d6f..3db1540 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -142,8 +142,6 @@ fn pr_check(stage: Option) -> Result<(), String> { "--exclude", "plotx-substrait", "--locked", - "--profile", - "pr-check", "--quiet", ], }, @@ -276,7 +274,6 @@ fn cargo_output(repo_root: &Path, args: &[&str]) -> Result { .args(args) .current_dir(repo_root) .env("CARGO_TERM_COLOR", "always") - .env("CARGO_PROFILE_DEV_DEBUG", "line-tables-only") .output() .map_err(|error| format!("failed to run cargo {}: {error}", args.join(" "))) }