aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml9
-rw-r--r--ports/servo/Cargo.toml6
2 files changed, 9 insertions, 6 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 0def226925f..a6862731aea 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,3 +5,12 @@ members = [
"ports/servo",
"support/android/build-apk",
]
+
+[profile.dev]
+codegen-units = 4
+
+[profile.release]
+opt-level = 3
+# Uncomment to profile on Linux:
+# debug = true
+# lto = false
diff --git a/ports/servo/Cargo.toml b/ports/servo/Cargo.toml
index 23f12909766..cfaaa2faf1d 100644
--- a/ports/servo/Cargo.toml
+++ b/ports/servo/Cargo.toml
@@ -35,12 +35,6 @@ testing = ["libservo/testing"]
clippy = ["libservo/clippy"]
debugmozjs = ["libservo/debugmozjs"]
-[profile.release]
-opt-level = 3
-# Uncomment to profile on Linux:
-# debug = true
-# lto = false
-
[dependencies]
backtrace = "0.2"
browserhtml = {git = "https://github.com/browserhtml/browserhtml", branch = "crate"}