diff options
| -rw-r--r-- | meta/recipes-devtools/rust/libstd-rs_1.66.0.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-devtools/rust/libstd-rs_1.66.0.bb b/meta/recipes-devtools/rust/libstd-rs_1.66.0.bb index 6c5a979f4f..8802e9790c 100644 --- a/meta/recipes-devtools/rust/libstd-rs_1.66.0.bb +++ b/meta/recipes-devtools/rust/libstd-rs_1.66.0.bb | |||
| @@ -6,8 +6,10 @@ LIC_FILES_CHKSUM = "file://../../COPYRIGHT;md5=92289ed52a60b63ab715612ad2915603" | |||
| 6 | 6 | ||
| 7 | require rust-source.inc | 7 | require rust-source.inc |
| 8 | 8 | ||
| 9 | # libstd moved from src/libstd to library/std in 1.47+ | 9 | # Building with library/std omits proc_macro from the sysroot. Using |
| 10 | S = "${RUSTSRC}/library/std" | 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" | ||
| 11 | 13 | ||
| 12 | RUSTLIB_DEP = "" | 14 | RUSTLIB_DEP = "" |
| 13 | inherit cargo | 15 | inherit cargo |
