SUMMARY = "Hello World in Rust" DESCRIPTION = "A simple Hello World application written in Rust" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" SRC_URI = "file://main.rs" S = "${WORKDIR}" inherit cargo do_compile() { cargo build --release --manifest-path=${S}/Cargo.toml } do_install() { install -d ${D}${bindir} install -m 0755 ${S}/target/release/hello-rust ${D}${bindir}/ }