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.
23 lines
478 B
BlitzBasic
23 lines
478 B
BlitzBasic
DESCRIPTION = "FFI bindings to libudev"
|
|
HOMEPAGE = "https://github.com/dcuddeback/libudev-sys"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=bbd2acd29c4ba5d4591b03e2757c04a3"
|
|
DEPENDS = "libc-rs udev"
|
|
|
|
inherit rust-bin
|
|
|
|
SRC_URI = "git://github.com/dcuddeback/libudev-sys.git;protocol=https"
|
|
SRCREV = "14c24afc61e3315dffddab2c7f36999a16a002d8"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
RUSTC_FLAGS += "-ludev"
|
|
|
|
do_compile () {
|
|
oe_compile_rust_lib
|
|
}
|
|
|
|
do_install () {
|
|
oe_install_rust_lib
|
|
}
|