From 34c36492db6f29429d5ded3c5001de611f6e65ef Mon Sep 17 00:00:00 2001 From: Tyler Hall Date: Fri, 7 Aug 2015 13:39:49 -0400 Subject: [PATCH] Don't build any rlibs I've seen this error from the compiler: found possibly newer version of crate `regex_syntax` which `env_logger` depends on This is probably because the rlib hashes are not deterministic, but I can't reproduce non-deterministic hashes locally. There have been lots of other types of errors caused by mixing rlibs and dylibs in the same dependency chain, so let's try using only dylibs until that's stable. --- recipes-core/memchr/memchr-rs_0.1.3.bb | 3 --- recipes-core/regex/regex-syntax-rs.bb | 2 -- recipes-core/udev/libudev-sys-rs_0.1.1.bb | 1 - 3 files changed, 6 deletions(-) diff --git a/recipes-core/memchr/memchr-rs_0.1.3.bb b/recipes-core/memchr/memchr-rs_0.1.3.bb index e0e61f0..b216cfd 100644 --- a/recipes-core/memchr/memchr-rs_0.1.3.bb +++ b/recipes-core/memchr/memchr-rs_0.1.3.bb @@ -11,9 +11,6 @@ SRCREV = "a91e63378bf6f4bba5c7d88f4fe98efdcb432c99" S = "${WORKDIR}/git" -# This module is tiny. One wrapper function only. -CRATE_TYPE = "rlib" - do_compile () { oe_compile_rust_lib } diff --git a/recipes-core/regex/regex-syntax-rs.bb b/recipes-core/regex/regex-syntax-rs.bb index 56ed2a3..9d440ba 100644 --- a/recipes-core/regex/regex-syntax-rs.bb +++ b/recipes-core/regex/regex-syntax-rs.bb @@ -2,6 +2,4 @@ DESCRIPTION = "A regular expression parser" require regex.inc -# Should only be used directly by regex -CRATE_TYPE = "rlib" LIB_SRC = "${S}/regex-syntax/src/lib.rs" diff --git a/recipes-core/udev/libudev-sys-rs_0.1.1.bb b/recipes-core/udev/libudev-sys-rs_0.1.1.bb index b2e0faa..e87a219 100644 --- a/recipes-core/udev/libudev-sys-rs_0.1.1.bb +++ b/recipes-core/udev/libudev-sys-rs_0.1.1.bb @@ -12,7 +12,6 @@ SRCREV = "14c24afc61e3315dffddab2c7f36999a16a002d8" S = "${WORKDIR}/git" RUSTC_FLAGS += "-ludev" -CRATE_TYPE = "rlib" do_compile () { oe_compile_rust_lib