Skip to content

main/rust: backport patch and add loongarch64 support

Jingyun Hua requested to merge huajingyun01/aports:master-rust into master

Hi,As we mentioned in IRC, I try to create MR for rust 1.77. This MR adds some patches for loongarch64,mainly backport some upstream patches,I separated them out in the hope that this will be more clear and hope that it won't cause trouble for the rust maintainers to manage.

  • Patch(0001 to 0005) backported from:

https://github.com/rust-lang/rust/pull/121832

https://github.com/rust-lang/rust/pull/122269

https://github.com/rust-lang/rust/pull/122323

  • Patch(0008 to 0010) backported from:

https://github.com/rust-lang/libc/pull/3605

  • Patch(0011) vendor/compiler_builtins backported from:

https://github.com/rust-lang/compiler-builtins/pull/579

I completed the build and saved the apk package here: https://dev.alpinelinux.org/~loongarch/edge-9c13e7/main/loongarch64/rust-1.77.0-r0.apk

Thanks.

Merge request reports