From bb0ab2b2c200bd49c3fdf66e23184d4627067aca Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Mon, 3 Apr 2023 20:05:01 +0200 Subject: Change cargo config to work better with sccache --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index a84fbe8..3e75bfb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,4 +24,10 @@ once_cell = "1.17.1" tempfile = "3.4.0" rexpect = "0.5.0" +[profile.dev.package."*"] +opt-level = 3 +# incremental compile is rarely useful for dependencies since they change +# infrequently, and having this on breaks sccache +incremental = false + [workspace] -- cgit v1.2.3