Skip to content

Commit d272f96

Browse files
authored
Merge pull request #121 from rust-embedded/bugfix/put-rlib-into-dbg
Include .rlib files in -dev package
2 parents 7fb12f8 + 35f649d commit d272f96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

classes/cargo.bbclass

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ WRAPPER_DIR = "${WORKDIR}/wrappers"
4040
# Set the Cargo manifest path to the typical location
4141
CARGO_MANIFEST_PATH ?= "${S}/Cargo.toml"
4242

43+
FILES:${PN}-dev += "${libdir}/*.rlib"
44+
4345
CARGO_BUILD_FLAGS = "\
4446
--verbose \
4547
--manifest-path ${CARGO_MANIFEST_PATH} \

0 commit comments

Comments
 (0)