rust: submit a rewritten version of crossbeam_atomic.patch upstream
PATCH 1/1 rust: submit a rewritten version of crossbeam_atomic.patch upstream
--- meta/recipes-devtools/rust/rust/crossbeam_atomic.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/rust/rust/crossbeam_atomic.patch +1 -1
@@ -14,7 +14,7 @@ Someone with more rust knowledge could split up the triplets in no_atmoics.rs and compare against the architecture/processor, or replace -unknown with a glob to create a patch that upstream might accept. -Upstream-Status: Inappropriate [OE Specific tweak but could be rewritten] +Upstream-Status: Submitted [https://github.com/crossbeam-rs/crossbeam/pull/922] Signed-off-by: Richard Purdie <[email protected]> Index: rustc-1.64.0-src/vendor/crossbeam-utils/build.rs
Signature · 1 line
2.30.2
Quoted 10 lines · Alexander Kanavin
Signed-off-by Alexander Kanavin <[email protected]>--- meta/recipes-devtools/rust/rust/crossbeam_atomic.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-devtools/rust/rust/crossbeam_atomic.patch +0
-0
meta/recipes-devtools/rust/rust/crossbeam_atomic.patch Someone with more rust knowledge could split up the triplets in no_atmoics.rs · line 20
Quoted 8 lines
meta/recipes-devtools/rust/rust/crossbeam_atomic.patch +1
-1@@ -14,7 +14,7 @@ Someone with more rust knowledge could split up the triplets in no_atmoics.rs and compare against the architecture/processor, or replace -unknown with a glob to create a patch that upstream might accept. -Upstream-Status: Inappropriate [OE Specific tweak but could be rewritten] +Upstream-Status: Submitted [https://github.com/crossbeam-rs/crossbeam/pull/922] Signed-off-by: Richard Purdie <[email protected]> Index: rustc-1.64.0-src/vendor/crossbeam-utils/build.rs
Should we not update the patch here to match the one we're asking be merged?
Thanks for sorting that btw, I kept meaning to but hadn't quite had enough time to learn enough rust! :)
Cheers,
Richard
Quoted 2 lines · Richard Purdie
Should we not update the patch here to match the one we're asking be merged?
I would rather see it through actual merge (where further changes may happen) and update to the official backport. Updating this particular patch is a *royal* pita.
Quoted 2 lines
Thanks for sorting that btw, I kept meaning to but hadn't quite had enough time to learn enough rust! :)
I wouldn't say I 'learned rust' either; I merely fumbled through compiler errors and stackoverflow search results until I arrived at something that builds and behaves as expected. :-)
Going through https://doc.rust-lang.org/book/ is a pressing matter for all of us I suppose.
Alex