summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/rust-target-config.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes-recipe/rust-target-config.bbclass')
-rw-r--r--meta/classes-recipe/rust-target-config.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass
index e53c5d1bc6..61ce7bad8e 100644
--- a/meta/classes-recipe/rust-target-config.bbclass
+++ b/meta/classes-recipe/rust-target-config.bbclass
@@ -386,7 +386,7 @@ def rust_gen_target(d, thing, wd, arch):
386 bb.fatal("No rust target defined for %s" % arch_abi) 386 bb.fatal("No rust target defined for %s" % arch_abi)
387 tspec['max-atomic-width'] = int(d.getVarFlag('MAX_ATOMIC_WIDTH', arch_abi)) 387 tspec['max-atomic-width'] = int(d.getVarFlag('MAX_ATOMIC_WIDTH', arch_abi))
388 tspec['target-pointer-width'] = d.getVarFlag('TARGET_POINTER_WIDTH', arch_abi) 388 tspec['target-pointer-width'] = d.getVarFlag('TARGET_POINTER_WIDTH', arch_abi)
389 tspec['target-c-int-width'] = d.getVarFlag('TARGET_C_INT_WIDTH', arch_abi) 389 tspec['target-c-int-width'] = int(d.getVarFlag('TARGET_C_INT_WIDTH', arch_abi))
390 tspec['target-endian'] = d.getVarFlag('TARGET_ENDIAN', arch_abi) 390 tspec['target-endian'] = d.getVarFlag('TARGET_ENDIAN', arch_abi)
391 tspec['arch'] = arch_to_rust_target_arch(rust_arch) 391 tspec['arch'] = arch_to_rust_target_arch(rust_arch)
392 if "elf" in os: 392 if "elf" in os: