Skip to content

Commit c767aad

Browse files
akiernanrpurdie
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) Signed-off-by: Alex Kiernan <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
1 parent 2e580e5 commit c767aad

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

Lines changed: 4 additions & 2 deletions
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)