Auto merge of #13064 - larsbergstrom:more_stylo_targets, r=metajack

Add rlib type for linking inside of the Rust staticlib in Gecko

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.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13064)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-08-26 17:59:52 -05:00 committed by GitHub
commit 3e2753cbc9

View file

@ -7,7 +7,7 @@ license = "MPL-2.0"
[lib] [lib]
name = "geckoservo" name = "geckoservo"
path = "lib.rs" path = "lib.rs"
crate-type = ["staticlib"] crate-type = ["staticlib", "rlib"]
[dependencies] [dependencies]
app_units = "0.3" app_units = "0.3"