Skip to content

Commit edf85c7

Browse files
akiernanalexandrebelloni
authored andcommitted
libstd-rs: Move source directory to library/test
Building libstd-rs from library/std omits proc_macro from the sysroot. Using library/test causes that to be installed which then allows cargo to build (meta-rust/meta-rust#266) (From OE-Core rev: 62527d5dadb79c70731e1dfd7b1f71495c78b267) Signed-off-by: Alex Kiernan <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
1 parent a6e2542 commit edf85c7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

meta/recipes-devtools/rust/libstd-rs_1.66.0.bb

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ LIC_FILES_CHKSUM = "file://../../COPYRIGHT;md5=92289ed52a60b63ab715612ad2915603"
66

77
require rust-source.inc
88

9-
# libstd moved from src/libstd to library/std in 1.47+
10-
S = "${RUSTSRC}/library/std"
9+
# Building with library/std omits proc_macro from the sysroot. Using
10+
# library/test causes that to be installed which then allows cargo to
11+
# build (https://github.com/meta-rust/meta-rust/issues/266)
12+
S = "${RUSTSRC}/library/test"
1113

1214
RUSTLIB_DEP = ""
1315
inherit cargo

0 commit comments

Comments
 (0)