Building rust package fails with "can't find crate for `std`" #toolchain #bitbake #rust #kirkstone


martin.stolpe@...
 

Hello,

I'm trying to build a rust package which pulls openssl-sys as a dependency. I've used cargo bitbake to create the build script.

When I try to build the package using bitbake I get the following error message:
error: failed to run custom build command for `openssl-sys v0.9.72`

Caused by:
  process didn't exit successfully: `/home/martin/yocto/build/tmp/work/cortexa72-poky-linux/basestation/0.1.0-r0/build/target/release/build/openssl-sys-0c915fe76d324495/build-script-main` (exit status: 101)
  --- stdout
  cargo:rustc-cfg=const_fn
  cargo:rerun-if-env-changed=AARCH64_POKY_LINUX_OPENSSL_NO_VENDOR
  AARCH64_POKY_LINUX_OPENSSL_NO_VENDOR unset
  cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
  OPENSSL_NO_VENDOR unset

  --- stderr
  warning: target json file contains unused fields: has-elf-tls

  warning: target json file contains unused fields: has-elf-tls

  error[E0463]: can't find crate for `std`
    |
    = note: the `aarch64-poky-linux` target may not be installed
    = help: consider downloading the target with `rustup target add aarch64-poky-linux`

Does anyone know if it is possible to build the std (and core) crate for the rust cross compile toolchain? I'm a beginner regarding Yocto/OpenEmbedded and am really struggling to understand how the rust cross compile toolchain is build. Any help would be appreciated.

Best regards
Martin


Alexander Kanavin
 

It helps if you can share the recipe that you're trying to build.

Alex

On Tue, 24 May 2022 at 10:08, <martin.stolpe@...> wrote:

Hello,

I'm trying to build a rust package which pulls openssl-sys as a dependency. I've used cargo bitbake to create the build script.

When I try to build the package using bitbake I get the following error message:
error: failed to run custom build command for `openssl-sys v0.9.72`

Caused by:
process didn't exit successfully: `/home/martin/yocto/build/tmp/work/cortexa72-poky-linux/basestation/0.1.0-r0/build/target/release/build/openssl-sys-0c915fe76d324495/build-script-main` (exit status: 101)
--- stdout
cargo:rustc-cfg=const_fn
cargo:rerun-if-env-changed=AARCH64_POKY_LINUX_OPENSSL_NO_VENDOR
AARCH64_POKY_LINUX_OPENSSL_NO_VENDOR unset
cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
OPENSSL_NO_VENDOR unset

--- stderr
warning: target json file contains unused fields: has-elf-tls

warning: target json file contains unused fields: has-elf-tls

error[E0463]: can't find crate for `std`
|
= note: the `aarch64-poky-linux` target may not be installed
= help: consider downloading the target with `rustup target add aarch64-poky-linux`

Does anyone know if it is possible to build the std (and core) crate for the rust cross compile toolchain? I'm a beginner regarding Yocto/OpenEmbedded and am really struggling to understand how the rust cross compile toolchain is build. Any help would be appreciated.

Best regards
Martin


martin.stolpe@...
 

Forgot to mention that the build machine is x86_64 and I want to build for target aarch64.

This is the generated bitbake recipe:

# Auto-Generated by cargo-bitbake 0.3.15
#
inherit cargo pkgconfig

# If this is git based prefer versioned ones if they exist
# DEFAULT_PREFERENCE = "-1"

SRC_URI:append = " file://root/basestation/"
S = "${WORKDIR}/root/basestation"

DEPENDS:append = " \
    libtss2 \
    udev \
    dbus \
    "

# please note if you have entries that do not begin with crate://
# you must change them to how that package can be fetched
SRC_URI += " \
    crate://crates.io/CoreFoundation-sys/0.1.4 \
    crate://crates.io/IOKit-sys/0.1.5 \
    crate://crates.io/ab_glyph_rasterizer/0.1.5 \
    crate://crates.io/adler/1.0.2 \
    crate://crates.io/adler32/1.2.0 \
    crate://crates.io/aes/0.7.5 \
    crate://crates.io/ahash/0.4.7 \
    crate://crates.io/aho-corasick/0.6.10 \
    crate://crates.io/aho-corasick/0.7.18 \
    crate://crates.io/andrew/0.3.1 \
    crate://crates.io/ansi_term/0.12.1 \
    crate://crates.io/anyhow/1.0.52 \
    crate://crates.io/arc-swap/0.4.8 \
    crate://crates.io/async-channel/1.6.1 \
    crate://crates.io/async-executor/1.4.1 \
    crate://crates.io/async-global-executor/2.0.2 \
    crate://crates.io/async-io/1.6.0 \
    crate://crates.io/async-lock/2.4.0 \
    crate://crates.io/async-mutex/1.4.0 \
    crate://crates.io/async-std/1.10.0 \
    crate://crates.io/async-task/4.0.3 \
    crate://crates.io/async-trait/0.1.52 \
    crate://crates.io/async_once/0.2.6 \
    crate://crates.io/atk-sys/0.10.0 \
    crate://crates.io/atk/0.9.0 \
    crate://crates.io/atomic-waker/1.0.0 \
    crate://crates.io/atty/0.2.14 \
    crate://crates.io/autocfg/0.1.7 \
    crate://crates.io/autocfg/1.0.1 \
    crate://crates.io/base64/0.13.0 \
    crate://crates.io/battery/0.7.8 \
    crate://crates.io/bindgen/0.57.0 \
    crate://crates.io/bindgen/0.59.2 \
    crate://crates.io/bitflags/0.9.1 \
    crate://crates.io/bitflags/1.3.2 \
    crate://crates.io/block-buffer/0.9.0 \
    crate://crates.io/block-modes/0.8.1 \
    crate://crates.io/block-padding/0.2.1 \
    crate://crates.io/block/0.1.6 \
    crate://crates.io/blocking/1.1.0 \
    crate://crates.io/btleplug/0.7.3 \
    crate://crates.io/buf_redux/0.8.4 \
    crate://crates.io/bumpalo/3.9.1 \
    crate://crates.io/bytemuck/1.7.3 \
    crate://crates.io/byteorder/1.4.3 \
    crate://crates.io/bytes/0.5.6 \
    crate://crates.io/bytes/1.1.0 \
    crate://crates.io/cache-padded/1.2.0 \
    crate://crates.io/cairo-rs/0.9.1 \
    crate://crates.io/cairo-sys-rs/0.10.0 \
    crate://crates.io/calloop/0.6.5 \
    crate://crates.io/cc/1.0.72 \
    crate://crates.io/cexpr/0.4.0 \
    crate://crates.io/cexpr/0.6.0 \
    crate://crates.io/cfg-if/0.1.10 \
    crate://crates.io/cfg-if/1.0.0 \
    crate://crates.io/chrono/0.4.19 \
    crate://crates.io/cipher/0.3.0 \
    crate://crates.io/clang-sys/1.3.0 \
    crate://crates.io/clap/2.34.0 \
    crate://crates.io/clap/3.0.10 \
    crate://crates.io/clap_derive/3.1.4 \
    crate://crates.io/cloudabi/0.0.3 \
    crate://crates.io/cocoa-foundation/0.1.0 \
    crate://crates.io/cocoa/0.24.0 \
    crate://crates.io/color_quant/1.1.0 \
    crate://crates.io/colored/1.9.3 \
    crate://crates.io/com/0.2.0 \
    crate://crates.io/com_macros/0.2.0 \
    crate://crates.io/com_macros_support/0.2.0 \
    crate://crates.io/concurrent-queue/1.2.2 \
    crate://crates.io/const-sha1/0.2.0 \
    crate://crates.io/core-foundation-sys/0.7.0 \
    crate://crates.io/core-foundation-sys/0.8.3 \
    crate://crates.io/core-foundation/0.7.0 \
    crate://crates.io/core-foundation/0.9.2 \
    crate://crates.io/core-graphics-types/0.1.1 \
    crate://crates.io/core-graphics/0.19.2 \
    crate://crates.io/core-graphics/0.22.3 \
    crate://crates.io/core-video-sys/0.1.4 \
    crate://crates.io/cpufeatures/0.2.1 \
    crate://crates.io/crc32fast/1.3.0 \
    crate://crates.io/crossbeam-channel/0.5.2 \
    crate://crates.io/crossbeam-deque/0.8.1 \
    crate://crates.io/crossbeam-epoch/0.9.6 \
    crate://crates.io/crossbeam-queue/0.3.3 \
    crate://crates.io/crossbeam-utils/0.8.6 \
    crate://crates.io/crossbeam/0.8.1 \
    crate://crates.io/crypto-mac/0.10.1 \
    crate://crates.io/ctor/0.1.21 \
    crate://crates.io/ctr/0.7.0 \
    crate://crates.io/ctr/0.8.0 \
    crate://crates.io/cty/0.2.2 \
    crate://crates.io/custom_error/1.9.2 \
    crate://crates.io/darling/0.10.2 \
    crate://crates.io/darling_core/0.10.2 \
    crate://crates.io/darling_macro/0.10.2 \
    crate://crates.io/dashmap/4.0.2 \
    crate://crates.io/dbus-codegen/0.9.1 \
    crate://crates.io/dbus/0.9.5 \
    crate://crates.io/deflate/0.8.6 \
    crate://crates.io/derivative/2.2.0 \
    crate://crates.io/diff/0.1.12 \
    crate://crates.io/digest/0.9.0 \
    crate://crates.io/dirs-sys/0.3.6 \
    crate://crates.io/dirs/3.0.2 \
    crate://crates.io/dispatch/0.2.0 \
    crate://crates.io/displaydoc/0.2.3 \
    crate://crates.io/dlib/0.4.2 \
    crate://crates.io/dlib/0.5.0 \
    crate://crates.io/docopt/1.1.1 \
    crate://crates.io/downcast-rs/1.2.0 \
    crate://crates.io/dyn-clone/1.0.4 \
    crate://crates.io/either/1.6.1 \
    crate://crates.io/env_logger/0.4.3 \
    crate://crates.io/env_logger/0.8.4 \
    crate://crates.io/env_logger/0.9.0 \
    crate://crates.io/event-listener/2.5.1 \
    crate://crates.io/extprim/1.7.1 \
    crate://crates.io/fallible-iterator/0.2.0 \
    crate://crates.io/fallible-streaming-iterator/0.1.9 \
    crate://crates.io/fastrand/1.6.0 \
    crate://crates.io/fnv/1.0.7 \
    crate://crates.io/foreign-types-shared/0.1.1 \
    crate://crates.io/foreign-types/0.3.2 \
    crate://crates.io/form_urlencoded/1.0.1 \
    crate://crates.io/fuchsia-cprng/0.1.1 \
    crate://crates.io/futures-channel/0.3.19 \
    crate://crates.io/futures-core/0.3.19 \
    crate://crates.io/futures-executor/0.3.19 \
    crate://crates.io/futures-io/0.3.19 \
    crate://crates.io/futures-lite/1.12.0 \
    crate://crates.io/futures-macro/0.3.19 \
    crate://crates.io/futures-sink/0.3.19 \
    crate://crates.io/futures-task/0.3.19 \
    crate://crates.io/futures-util/0.3.19 \
    crate://crates.io/futures/0.3.19 \
    crate://crates.io/gdk-pixbuf-sys/0.10.0 \
    crate://crates.io/gdk-pixbuf/0.9.0 \
    crate://crates.io/gdk-sys/0.10.0 \
    crate://crates.io/gdk/0.13.2 \
    crate://crates.io/generic-array/0.14.5 \
    crate://crates.io/getopts/0.2.21 \
    crate://crates.io/getrandom/0.2.4 \
    crate://crates.io/gif/0.11.3 \
    crate://crates.io/gio-sys/0.10.1 \
    crate://crates.io/gio/0.9.1 \
    crate://crates.io/glib-macros/0.10.1 \
    crate://crates.io/glib-sys/0.10.1 \
    crate://crates.io/glib/0.10.3 \
    crate://crates.io/glob/0.3.0 \
    crate://crates.io/gloo-timers/0.2.2 \
    crate://crates.io/gobject-sys/0.10.0 \
    crate://crates.io/gtk-sys/0.10.0 \
    crate://crates.io/gtk/0.9.2 \
    crate://crates.io/h2/0.3.10 \
    crate://crates.io/hashbrown/0.11.2 \
    crate://crates.io/hashbrown/0.9.1 \
    crate://crates.io/hashlink/0.6.0 \
    crate://crates.io/headers-core/0.2.0 \
    crate://crates.io/headers/0.3.5 \
    crate://crates.io/heck/0.3.3 \
    crate://crates.io/heck/0.4.0 \
    crate://crates.io/hermit-abi/0.1.19 \
    crate://crates.io/hex-literal/0.3.4 \
    crate://crates.io/hex/0.4.3 \
    crate://crates.io/hmac/0.10.1 \
    crate://crates.io/http-body/0.4.4 \
    crate://crates.io/http/0.2.6 \
    crate://crates.io/httparse/1.5.1 \
    crate://crates.io/httpdate/1.0.2 \
    crate://crates.io/humantime/2.1.0 \
    crate://crates.io/hyper/0.14.16 \
    crate://crates.io/ident_case/1.0.1 \
    crate://crates.io/idna/0.2.3 \
    crate://crates.io/image/0.23.14 \
    crate://crates.io/indexmap/1.8.0 \
    crate://crates.io/infer/0.3.7 \
    crate://crates.io/instant/0.1.12 \
    crate://crates.io/itertools/0.10.3 \
    crate://crates.io/itertools/0.9.0 \
    crate://crates.io/itoa/0.4.8 \
    crate://crates.io/itoa/1.0.1 \
    crate://crates.io/javascriptcore-rs-sys/0.2.0 \
    crate://crates.io/javascriptcore-rs/0.10.0 \
    crate://crates.io/jni-sys/0.3.0 \
    crate://crates.io/jpeg-decoder/0.1.22 \
    crate://crates.io/js-sys/0.3.55 \
    crate://crates.io/kernel32-sys/0.2.2 \
    crate://crates.io/kv-log-macro/1.0.7 \
    crate://crates.io/lazy_static/1.4.0 \
    crate://crates.io/lazycell/1.3.0 \
    crate://crates.io/libc/0.2.112 \
    crate://crates.io/libdbus-sys/0.2.2 \
    crate://crates.io/libloading/0.6.7 \
    crate://crates.io/libloading/0.7.3 \
    crate://crates.io/libsqlite3-sys/0.20.1 \
    crate://crates.io/libudev-sys/0.1.4 \
    crate://crates.io/libudev/0.2.0 \
    crate://crates.io/linked-hash-map/0.5.4 \
    crate://crates.io/lock_api/0.4.5 \
    crate://crates.io/log-mdc/0.1.0 \
    crate://crates.io/log/0.3.9 \
    crate://crates.io/log/0.4.14 \
    crate://crates.io/log4rs/1.0.0 \
    crate://crates.io/mach/0.1.2 \
    crate://crates.io/mach/0.2.3 \
    crate://crates.io/mach/0.3.2 \
    crate://crates.io/malloc_buf/0.0.6 \
    crate://crates.io/matches/0.1.9 \
    crate://crates.io/memchr/2.4.1 \
    crate://crates.io/memmap2/0.1.0 \
    crate://crates.io/memoffset/0.6.5 \
    crate://crates.io/mime/0.3.16 \
    crate://crates.io/mime_guess/2.0.3 \
    crate://crates.io/minimal-lexical/0.2.1 \
    crate://crates.io/miniz_oxide/0.3.7 \
    crate://crates.io/miniz_oxide/0.4.4 \
    crate://crates.io/mio-misc/1.2.2 \
    crate://crates.io/mio/0.7.14 \
    crate://crates.io/miow/0.3.7 \
    crate://crates.io/mqtt-protocol/0.10.0 \
    crate://crates.io/multimap/0.8.3 \
    crate://crates.io/multipart/0.18.0 \
    crate://crates.io/native-tls/0.2.8 \
    crate://crates.io/ndk-glue/0.3.0 \
    crate://crates.io/ndk-macro/0.2.0 \
    crate://crates.io/ndk-sys/0.2.2 \
    crate://crates.io/ndk/0.3.0 \
    crate://crates.io/nix/0.14.1 \
    crate://crates.io/nix/0.18.0 \
    crate://crates.io/nix/0.19.1 \
    crate://crates.io/nix/0.20.0 \
    crate://crates.io/nom/5.1.2 \
    crate://crates.io/nom/7.1.0 \
    crate://crates.io/ntapi/0.3.6 \
    crate://crates.io/num-integer/0.1.44 \
    crate://crates.io/num-iter/0.1.42 \
    crate://crates.io/num-rational/0.3.2 \
    crate://crates.io/num-traits/0.2.14 \
    crate://crates.io/num_cpus/1.13.1 \
    crate://crates.io/num_enum/0.5.6 \
    crate://crates.io/num_enum_derive/0.5.6 \
    crate://crates.io/objc/0.2.7 \
    crate://crates.io/objc_id/0.1.1 \
    crate://crates.io/once_cell/1.9.0 \
    crate://crates.io/opaque-debug/0.3.0 \
    crate://crates.io/openssl-probe/0.1.5 \
    crate://crates.io/openssl-src/111.17.0+1.1.1m \
    crate://crates.io/openssl-sys/0.9.72 \
    crate://crates.io/openssl/0.10.38 \
    crate://crates.io/ordered-float/2.10.0 \
    crate://crates.io/os_str_bytes/6.0.0 \
    crate://crates.io/owned_ttf_parser/0.6.0 \
    crate://crates.io/pango-sys/0.10.0 \
    crate://crates.io/pango/0.9.1 \
    crate://crates.io/parking/2.0.0 \
    crate://crates.io/parking_lot/0.11.2 \
    crate://crates.io/parking_lot_core/0.8.5 \
    crate://crates.io/peeking_take_while/0.1.2 \
    crate://crates.io/percent-encoding/2.1.0 \
    crate://crates.io/pin-project-internal/1.0.10 \
    crate://crates.io/pin-project-lite/0.2.8 \
    crate://crates.io/pin-project/1.0.10 \
    crate://crates.io/pin-utils/0.1.0 \
    crate://crates.io/pkg-config/0.3.24 \
    crate://crates.io/png/0.16.8 \
    crate://crates.io/polling/2.2.0 \
    crate://crates.io/ppv-lite86/0.2.16 \
    crate://crates.io/proc-macro-crate/0.1.5 \
    crate://crates.io/proc-macro-crate/1.1.0 \
    crate://crates.io/proc-macro-error-attr/1.0.4 \
    crate://crates.io/proc-macro-error/1.0.4 \
    crate://crates.io/proc-macro2/1.0.36 \
    crate://crates.io/quick-error/1.2.3 \
    crate://crates.io/quote/1.0.14 \
    crate://crates.io/r2d2/0.8.9 \
    crate://crates.io/r2d2_sqlite/0.17.0 \
    crate://crates.io/rand/0.6.5 \
    crate://crates.io/rand/0.8.4 \
    crate://crates.io/rand_chacha/0.1.1 \
    crate://crates.io/rand_chacha/0.3.1 \
    crate://crates.io/rand_core/0.3.1 \
    crate://crates.io/rand_core/0.4.2 \
    crate://crates.io/rand_core/0.6.3 \
    crate://crates.io/rand_hc/0.1.0 \
    crate://crates.io/rand_hc/0.3.1 \
    crate://crates.io/rand_isaac/0.1.1 \
    crate://crates.io/rand_jitter/0.1.4 \
    crate://crates.io/rand_os/0.1.3 \
    crate://crates.io/rand_pcg/0.1.2 \
    crate://crates.io/rand_xorshift/0.1.1 \
    crate://crates.io/raw-window-handle/0.3.4 \
    crate://crates.io/raw-window-handle/0.4.2 \
    crate://crates.io/rayon-core/1.9.1 \
    crate://crates.io/rayon/1.5.1 \
    crate://crates.io/rdrand/0.4.0 \
    crate://crates.io/redox_syscall/0.1.57 \
    crate://crates.io/redox_syscall/0.2.10 \
    crate://crates.io/redox_users/0.4.0 \
    crate://crates.io/regex-syntax/0.5.6 \
    crate://crates.io/regex-syntax/0.6.25 \
    crate://crates.io/regex/0.2.11 \
    crate://crates.io/regex/1.5.4 \
    crate://crates.io/remove_dir_all/0.5.3 \
    crate://crates.io/rppal/0.12.0 \
    crate://crates.io/rusqlite/0.24.2 \
    crate://crates.io/rustc-hash/1.1.0 \
    crate://crates.io/rustc_version/0.2.3 \
    crate://crates.io/rustfmt/0.10.0 \
    crate://crates.io/rusttype/0.9.2 \
    crate://crates.io/ryu/1.0.9 \
    crate://crates.io/safemem/0.3.3 \
    crate://crates.io/same-file/1.0.6 \
    crate://crates.io/schannel/0.1.19 \
    crate://crates.io/scheduled-thread-pool/0.2.5 \
    crate://crates.io/scoped-tls/1.0.0 \
    crate://crates.io/scoped_threadpool/0.1.9 \
    crate://crates.io/scopeguard/1.1.0 \
    crate://crates.io/security-framework-sys/2.5.0 \
    crate://crates.io/security-framework/2.5.0 \
    crate://crates.io/semver-parser/0.7.0 \
    crate://crates.io/semver/0.9.0 \
    crate://crates.io/serde-value/0.7.0 \
    crate://crates.io/serde/1.0.133 \
    crate://crates.io/serde_bytes/0.11.5 \
    crate://crates.io/serde_derive/1.0.133 \
    crate://crates.io/serde_json/1.0.75 \
    crate://crates.io/serde_urlencoded/0.7.1 \
    crate://crates.io/serde_yaml/0.8.23 \
    crate://crates.io/serial_test/0.5.1 \
    crate://crates.io/serial_test_derive/0.5.1 \
    crate://crates.io/serialport/3.3.0 \
    crate://crates.io/sha-1/0.9.8 \
    crate://crates.io/sha2/0.9.9 \
    crate://crates.io/shlex/0.1.1 \
    crate://crates.io/shlex/1.1.0 \
    crate://crates.io/signal-hook-registry/1.4.0 \
    crate://crates.io/single_value_channel/1.2.2 \
    crate://crates.io/slab/0.4.5 \
    crate://crates.io/smallvec/1.8.0 \
    crate://crates.io/smithay-client-toolkit/0.12.3 \
    crate://crates.io/socket2/0.4.2 \
    crate://crates.io/soup-sys/0.10.0 \
    crate://crates.io/squote/0.1.2 \
    crate://crates.io/static_assertions/1.1.0 \
    crate://crates.io/strings/0.1.1 \
    crate://crates.io/strsim/0.10.0 \
    crate://crates.io/strsim/0.8.0 \
    crate://crates.io/strsim/0.9.3 \
    crate://crates.io/strum/0.18.0 \
    crate://crates.io/strum_macros/0.18.0 \
    crate://crates.io/subtle/2.4.1 \
    crate://crates.io/syn/1.0.85 \
    crate://crates.io/syntex_errors/0.59.1 \
    crate://crates.io/syntex_pos/0.59.1 \
    crate://crates.io/syntex_syntax/0.59.1 \
    crate://crates.io/system-deps/1.3.2 \
    crate://crates.io/tauri-winit/0.24.1 \
    crate://crates.io/tempfile/3.3.0 \
    crate://crates.io/term/0.4.6 \
    crate://crates.io/termcolor/1.1.2 \
    crate://crates.io/textwrap/0.11.0 \
    crate://crates.io/textwrap/0.14.2 \
    crate://crates.io/thiserror-impl/1.0.30 \
    crate://crates.io/thiserror/1.0.30 \
    crate://crates.io/thread-id/3.3.0 \
    crate://crates.io/thread_local/0.3.6 \
    crate://crates.io/tiff/0.6.1 \
    crate://crates.io/time/0.1.44 \
    crate://crates.io/tinyvec/1.5.1 \
    crate://crates.io/tinyvec_macros/0.1.0 \
    crate://crates.io/tokio-macros/1.7.0 \
    crate://crates.io/tokio-native-tls/0.3.0 \
    crate://crates.io/tokio-stream/0.1.8 \
    crate://crates.io/tokio-test/0.3.0 \
    crate://crates.io/tokio-tungstenite/0.15.0 \
    crate://crates.io/tokio-util/0.6.9 \
    crate://crates.io/tokio/0.3.7 \
    crate://crates.io/tokio/1.15.0 \
    crate://crates.io/toml/0.4.10 \
    crate://crates.io/toml/0.5.8 \
    crate://crates.io/tower-service/0.3.1 \
    crate://crates.io/tracing-core/0.1.21 \
    crate://crates.io/tracing/0.1.29 \
    crate://crates.io/traitobject/0.1.0 \
    crate://crates.io/try-lock/0.2.3 \
    crate://crates.io/ttf-parser/0.6.2 \
    crate://crates.io/tungstenite/0.14.0 \
    crate://crates.io/twoway/0.1.8 \
    crate://crates.io/typemap/0.3.3 \
    crate://crates.io/typenum/1.15.0 \
    crate://crates.io/ucd-util/0.1.8 \
    crate://crates.io/unicase/2.6.0 \
    crate://crates.io/unicode-bidi/0.3.7 \
    crate://crates.io/unicode-normalization/0.1.19 \
    crate://crates.io/unicode-segmentation/1.8.0 \
    crate://crates.io/unicode-width/0.1.9 \
    crate://crates.io/unicode-xid/0.1.0 \
    crate://crates.io/unicode-xid/0.2.2 \
    crate://crates.io/unsafe-any/0.4.2 \
    crate://crates.io/uom/0.30.0 \
    crate://crates.io/url/2.2.2 \
    crate://crates.io/utf-8/0.7.6 \
    crate://crates.io/utf8-ranges/1.0.4 \
    crate://crates.io/uuid/0.8.2 \
    crate://crates.io/value-bag/1.0.0-alpha.8 \
    crate://crates.io/vcpkg/0.2.15 \
    crate://crates.io/vec_map/0.8.2 \
    crate://crates.io/version-compare/0.0.10 \
    crate://crates.io/version_check/0.9.4 \
    crate://crates.io/void/1.0.2 \
    crate://crates.io/wait-timeout/0.2.0 \
    crate://crates.io/waker-fn/1.1.0 \
    crate://crates.io/walkdir/2.3.2 \
    crate://crates.io/want/0.3.0 \
    crate://crates.io/warp/0.3.2 \
    crate://crates.io/wasi/0.10.0+wasi-snapshot-preview1 \
    crate://crates.io/wasm-bindgen-backend/0.2.78 \
    crate://crates.io/wasm-bindgen-futures/0.4.28 \
    crate://crates.io/wasm-bindgen-macro-support/0.2.78 \
    crate://crates.io/wasm-bindgen-macro/0.2.78 \
    crate://crates.io/wasm-bindgen-shared/0.2.78 \
    crate://crates.io/wasm-bindgen/0.2.78 \
    crate://crates.io/wayland-client/0.28.6 \
    crate://crates.io/wayland-commons/0.28.6 \
    crate://crates.io/wayland-cursor/0.28.6 \
    crate://crates.io/wayland-protocols/0.28.6 \
    crate://crates.io/wayland-scanner/0.28.6 \
    crate://crates.io/wayland-sys/0.28.6 \
    crate://crates.io/web-sys/0.3.55 \
    crate://crates.io/webkit2gtk-sys/0.13.0 \
    crate://crates.io/webkit2gtk/0.11.0 \
    crate://crates.io/webview2-sys/0.1.1 \
    crate://crates.io/webview2/0.1.4 \
    crate://crates.io/weezl/0.1.5 \
    crate://crates.io/wepoll-ffi/0.1.2 \
    crate://crates.io/which/3.1.1 \
    crate://crates.io/which/4.2.2 \
    crate://crates.io/widestring/0.5.1 \
    crate://crates.io/winapi-build/0.1.1 \
    crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
    crate://crates.io/winapi-util/0.1.5 \
    crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
    crate://crates.io/winapi/0.2.8 \
    crate://crates.io/winapi/0.3.9 \
    crate://crates.io/windows/0.3.1 \
    crate://crates.io/windows_gen/0.3.1 \
    crate://crates.io/windows_gen_macros/0.3.1 \
    crate://crates.io/windows_macros/0.3.1 \
    crate://crates.io/windows_winmd/0.3.1 \
    crate://crates.io/windows_winmd_macros/0.3.1 \
    crate://crates.io/wry/0.6.2 \
    crate://crates.io/x11-dl/2.19.1 \
    crate://crates.io/xcursor/0.3.4 \
    crate://crates.io/xdg/2.4.0 \
    crate://crates.io/xml-rs/0.8.4 \
    crate://crates.io/yaml-rust/0.4.5 \
"



# FIXME: update generateme with the real MD5 of the license file
LIC_FILES_CHKSUM = " \
    "

SUMMARY = "Base Station"
HOMEPAGE = ""
LICENSE = "CLOSED"

# includes this file if it exists but does not fail
# this is useful for anything you may want to override from
# what cargo-bitbake generates.
include basestation-${PV}.inc
include basestation.inc

What I also don't understand is what the recipe libstd-rs, which is provided as a recipe in poky/meta/recipes-devtools/rust, is used for or how it is used. Considering the name of the package it looks like I would need it? Adding this to DEPENDS doesn't change anything though.

Martin