Message ID | 76a5ebf4e642726a63c5e9d23938850ab1f53123.1753295655.git.scott.murray@konsulko.com |
---|---|
State | New |
Headers | show |
Series | Update to Rust 1.87.0 | expand |
diff --git a/recipes-devtools/rust/rust_%.bbappend b/recipes-devtools/rust/rust_%.bbappend new file mode 100644 index 0000000..47d18f6 --- /dev/null +++ b/recipes-devtools/rust/rust_%.bbappend @@ -0,0 +1,10 @@ +# Override scarthgap default of "-fcanon-prefix-map" as it seems to +# now cause issues with rust-llvm as of Rust 1.87. master branch +# did not see this as the default value changed to the below before +# the upgrade to Rust 1.86. +DEBUG_PREFIX_MAP = "\ + -ffile-prefix-map=${S}=${TARGET_DBGSRC_DIR} \ + -ffile-prefix-map=${B}=${TARGET_DBGSRC_DIR} \ + -ffile-prefix-map=${STAGING_DIR_HOST}= \ + -ffile-prefix-map=${STAGING_DIR_NATIVE}= \ +"
Add a rust bbappend to override the DEBUG_PREFIX_MAP scarthgap default of "-fcanon-prefix-map" as it seems to now cause issues with rust-llvm as of Rust 1.87. master branch did not see this as the default value changed to be clang compatible before the upgrade to Rust 1.86. Signed-off-by: Scott Murray <scott.murray@konsulko.com> --- recipes-devtools/rust/rust_%.bbappend | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 recipes-devtools/rust/rust_%.bbappend