Skip to contentSkip to conversation

state/staging: Fix directory not deleted for race

PATCH New Pgowda 1 participant 1 message Oct 19, 2021

lore
Share & tools
lore

Pgowda

author
#0 lore raw

PATCH v3 1/1 state/staging: Fix directory not deleted for race

Modify the SYSROOT PATH to fix race around issue when rust-hello-world is run for two libc one after the other.

---
 meta/recipes-devtools/rust/rust-cross.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/rust/rust-cross.inc +1 -1
index 42163f7b81..bb625f4240 100644
@@ -34,7 +34,7 @@ DEPENDS += "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs vir
 DEPENDS += "rust-native"
 
 PROVIDES = "virtual/${TARGET_PREFIX}rust"
-PN = "rust-cross-${TARGET_ARCH}"
+PN = "rust-cross-${TARGET_ARCH}-${TCLIBC}"
 
 # In the cross compilation case, rustc doesn't seem to get the rpath quite
 # right. It manages to include '../../lib/${TARGET_PREFIX}', but doesn't
Signature · 1 line
2.31.1