From d10344873cff5c3bff3c2c318e37a6acebb990af Mon Sep 17 00:00:00 2001 From: thek4n Date: Fri, 11 Sep 2026 17:34:41 +0300 Subject: [PATCH] build: reduce compile time --- .cargo/config.toml | 9 +++++++++ Cargo.toml | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..6ce5aaf --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,9 @@ + +rustflags = ["-Z", "threads=8"] + + +[unstable] +codegen-backend = true + +[profiles.dev] +codegen-backend = "cranelift" diff --git a/Cargo.toml b/Cargo.toml index ff20fdb..e1bb58f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,9 @@ codegen-units = 1 panic = "abort" strip = true +[profiles.dev] +debug = "line-tables-only" + [build-dependencies] reqwest = { version = "0.11", features = ["blocking"] } minify-html = "0.18"