Skip to content

Native iCloud apps for Windows and Linux, built in Rust. Notes, Reminders, Calendar, Contacts, Drive and Photos, offline and in sync with your iPhone.

The build cache stops eating the disk

Yashwanth Kamireddif2e1a9f8cc44
diff --git a/Cargo.toml b/Cargo.toml
index 6c19ca5..84f114c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,3 +15,13 @@ serde_json = "1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
uuid = { version = "1", features = ["v4"] }
quince-media = { path = "crates/quince-media" }
+
+# Debug builds without the full debug symbols of every dependency. Those symbols were most of
+# a forty-gigabyte target directory — each probe and test is its own binary, and the app alone
+# came to three hundred megabytes a copy — and nobody steps through webkit2gtk in a debugger.
+# Line tables are kept for this project's own code, so a panic still names the line it came from.
+[profile.dev]
+debug = "line-tables-only"
+
+[profile.dev.package."*"]
+debug = false