diff --git a/crates/.cargo/config.toml b/crates/.cargo/config.toml new file mode 100644 index 0000000000..b5c7a05b8b --- /dev/null +++ b/crates/.cargo/config.toml @@ -0,0 +1,2 @@ +[target.x86_64-unknown-linux-gnu] +rustflags = ["-C", "link-args=-static-libgcc"] diff --git a/crates/Cargo.toml b/crates/Cargo.toml index 340e7b2f0d..cdd9a1f467 100644 --- a/crates/Cargo.toml +++ b/crates/Cargo.toml @@ -11,12 +11,8 @@ cxx = { version = "1.0.194", features = ["c++20"] } [workspace.package] edition = "2024" -[profile.dev] -panic = "abort" - [profile.release] opt-level = 3 overflow-checks = true lto = true debug = true -panic = "abort"