servo: Merge #13064 - Add rlib type for linking inside of the Rust staticlib in Gecko (from larsbergstrom:more_stylo_targets); r=metajack
authorLars Bergstrom <lars@lars.com>
Fri, 26 Aug 2016 17:59:52 -0500
changeset 339582 36fdc6f0edb442a9ad70ece9e3a6c026c2b96325
parent 339581 69f002e844b6e1b26da1881e351a4f59e3f674e1
child 339583 e1d358d2fb98f53899640ca588da741f927d7316
push id31307
push usergszorc@mozilla.com
push dateSat, 04 Feb 2017 00:59:06 +0000
treeherdermozilla-central@94079d43835f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmetajack
servo: Merge #13064 - Add rlib type for linking inside of the Rust staticlib in Gecko (from larsbergstrom:more_stylo_targets); r=metajack r? @metajack Super simple - just want to be able to both build as libgeckoservo.a and the .rlib so that the build system works either standalone or inside of m-c for Gecko. Source-Repo: https://github.com/servo/servo Source-Revision: 3e2753cbc9430519d87f1988572029c5f05b5549
servo/ports/geckolib/Cargo.toml
--- a/servo/ports/geckolib/Cargo.toml
+++ b/servo/ports/geckolib/Cargo.toml
@@ -2,17 +2,17 @@
 name = "geckoservo"
 version = "0.0.1"
 authors = ["The Servo Project Developers"]
 license = "MPL-2.0"
 
 [lib]
 name = "geckoservo"
 path = "lib.rs"
-crate-type = ["staticlib"]
+crate-type = ["staticlib", "rlib"]
 
 [dependencies]
 app_units = "0.3"
 env_logger = "0.3"
 euclid = "0.10.1"
 gecko_bindings = {version = "0.0.1", path = "gecko_bindings"}
 gecko_string_cache = {path = "string_cache"}
 lazy_static = "0.2"