aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/servo/Cargo.toml7
-rw-r--r--ports/cef/Cargo.toml7
2 files changed, 10 insertions, 4 deletions
diff --git a/components/servo/Cargo.toml b/components/servo/Cargo.toml
index b6bb3469c4a..c547e09a071 100644
--- a/components/servo/Cargo.toml
+++ b/components/servo/Cargo.toml
@@ -66,12 +66,11 @@ headless = ["glutin_app/headless"]
webdriver = ["webdriver_server"]
energy-profiling = ["profile_traits/energy-profiling"]
+[profile.release]
+opt-level = 3
+codegen-units = 4
# Uncomment to profile on Linux:
-#
-# [profile.release]
-# opt-level = 3
# debug = true
-# rpath = false
# lto = false
[dependencies.compositing]
diff --git a/ports/cef/Cargo.toml b/ports/cef/Cargo.toml
index 2bfa2c2f76c..c76b15cf00f 100644
--- a/ports/cef/Cargo.toml
+++ b/ports/cef/Cargo.toml
@@ -8,6 +8,13 @@ name = "embedding"
path = "lib.rs"
crate-type = ["dylib"]
+[profile.release]
+opt-level = 3
+codegen-units = 4
+# Uncomment to profile on Linux:
+# debug = true
+# lto = false
+
[dependencies]
euclid = {version = "0.6.4", features = ["plugins"]}
gleam = "0.2.8"