diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index ba1b16dfb..000000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,8 +0,0 @@ -[unstable] -codegen-backend = true - -[profile.dev] -codegen-backend = "cranelift" - -[build] -rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zthreads=16", "-Ctarget-cpu=native"] diff --git a/Cargo.toml b/Cargo.toml index 48d3bf430..627ef28ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,11 +26,9 @@ workspace = true # See https://github.com/johnthagen/min-sized-rust for additional optimizations [profile.release] -debug = false -lto = true +lto = "fat" opt-level = 3 # Optimize for speed, not size. codegen-units = 1 # Reduce parallel code generation. -panic = "abort" # This profile significantly speeds up build time. If debug info is needed you can comment the line # out temporarily, but make sure to leave this in the main branch.