mbox series

[kirkstone,v2,0/5] Failure for rust-cross for arm(v5)

Message ID 20231205142810.826-1-jermain.horsman@nedap.com
Headers show
Series Failure for rust-cross for arm(v5) | expand

Message

jhatnedap@gmail.com Dec. 5, 2023, 2:27 p.m. UTC
From: Jermain Horsman <jermain.horsman@nedap.com>

I ran into the following when trying to compile rust for arm (on kirkstone):

Exception: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

After some investigation I notices some patches on master which were not
available on kirkstone.
Using the patches included here I am able to compile successfully.

v2:
I've included all patches that were originally send as a series on the
mailing list.
I've also included a single patch that should prevent the issue with the
oe-selftest reported on the first version.



Richard Purdie (5):
  rust-common: Set llvm-target correctly for cross SDK targets
  rust-cross-canadian: Fix ordering of target json config generation
  rust-cross/rust-common: Merge arm target handling code to fix
    cross-canadian
  rust-cross: Simplfy the rust_gen_target calls
  native: Clear TUNE_FEATURES/ABIEXTENSION

 meta/classes/native.bbclass                   |  2 ++
 meta/recipes-devtools/rust/rust-common.inc    | 24 +++++++++++++------
 .../rust/rust-cross-canadian-common.inc       |  5 ++--
 meta/recipes-devtools/rust/rust-cross.inc     | 21 ++++------------
 4 files changed, 26 insertions(+), 26 deletions(-)