Bug 14947

Summary: rust: conflicts between Yocto and CC-RS compiler parameters
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Anton Antonov <Anton.Antonov>
Component: devtools / tool chainAssignee: Anton Antonov <Anton.Antonov>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, randy.macleod, ross.burton, sundeep.kokkonda, tom.hochstein
Version: 4.1   
Target Milestone: 4.2 M2   
Hardware: Beagleboard   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Anton Antonov 2022-10-25 12:20:08 UTC
This bug follows the discussion on the oe-core email list:
https://lists.openembedded.org/g/openembedded-core/topic/94539875

"we need to set CRATE_CC_NO_DEFAULTS globally and fix any issues that happen because of it."
Comment 1 Randy MacLeod 2022-10-27 14:42:00 UTC
We're hoping you can send a patch to the list. - YP bug triage meeting / Randy
Comment 2 Anton Antonov 2022-10-27 15:11:15 UTC
Randy,

   I've happy to send a patch with the solution Richard suggested in this message:
https://lists.openembedded.org/g/openembedded-core/message/172128

  I just wondered if someone with a better understanding about Rust in Yocto would like to have a look at the issue in details to answer Richard's worries.