diff --git a/axum_server/Cargo.toml b/axum_server/Cargo.toml index 93cb3de..5fa2a7c 100644 --- a/axum_server/Cargo.toml +++ b/axum_server/Cargo.toml @@ -27,11 +27,17 @@ rayon = "1.10.0" [build] rustflags = ["-Z", "threads=8"] +[target.x86_64-unknown-linux-gnu] +rustflags = [ + "-C", "link-arg=-fuse-ld=lld" +] + + [profile.dev] -debug = true +debug = false opt-level = 0 -codegen-units = 16 -lto = "thin" +# codegen-units = 16 +# lto = "thin" panic = "unwind" strip = false incremental = true