bitflags: update to 0.8.2 and Rust 1.20 compat

0.8.2 is the last version before the breaking "flags" keyword change.

For now, no_std crates need to be rlibs because rustc complains about
missing lang items on dylibs even though it would eventually be resolved
in the final link.

Ignore pub_use_of_private_extern_crate as there exists no version with
this fixed that uses the old API.
This commit is contained in:
Tyler Hall
2017-10-24 14:14:08 -04:00
committed by Steven Walter
parent d4755fc065
commit 81ea9f2d2c
@@ -8,12 +8,14 @@ LIC_FILES_CHKSUM = "\
inherit rust-bin inherit rust-bin
SRC_URI = "git://github.com/rust-lang-nursery/bitflags.git;protocol=https" SRC_URI = "git://github.com/rust-lang-nursery/bitflags.git;protocol=https;nobranch=1"
SRCREV = "41aa413a7c30d70b93b44ab5447276c381ef249e" SRCREV = "e30da43cac0e52fc8d0007ce99a316ec6473033e"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
LIB_SRC = "${S}/src/lib.rs" LIB_SRC = "${S}/src/lib.rs"
CRATE_TYPE = "rlib"
RUSTFLAGS += "-A pub_use_of_private_extern_crate"
do_compile () { do_compile () {
oe_compile_rust_lib oe_compile_rust_lib