Rust cannot bootstrap without prebuilt rust compiler, but upstream has no loongarch64-unknown-linux-gnu tarballs.
Ebuilds in this pr use tarballs hosted at
Rust libc loongarch64 port is not upstream yet,
so cargo should use libc source code shipped with local rust install.
libc/object source code were not installed by gentoo.
this pr patched ebuilds to install them into :
/usr/lib/rust/lib/rustlib/src/loongarch/{libc,object}
to use cargo command , add same [patch] section to package Cargo.toml,
or edit ~/.cargo/config.toml to make it work globaly.
This pull request add rust loongarch port for gentoo orignal rust patches from :
current support ebuild version:
Upstream llvm loongarch port is not merged yet. USE="system-llvm" is needed to emerge. eg:
Rust cannot bootstrap without prebuilt rust compiler, but upstream has no loongarch64-unknown-linux-gnu tarballs. Ebuilds in this pr use tarballs hosted at
This pr patched cargo.eclass, to add a [patch] section to Cargo.toml, which belongs to the package that is been emerging.
rust-1.56.1 shipped liblibc-0.2.98 rust-1.57.0 shipped liblibc-0.2.102
Rust libc loongarch64 port is not upstream yet, so cargo should use libc source code shipped with local rust install.
libc/object source code were not installed by gentoo. this pr patched ebuilds to install them into :
/usr/lib/rust/lib/rustlib/src/loongarch/{libc,object}
to use cargo command , add same [patch] section to package Cargo.toml, or edit ~/.cargo/config.toml to make it work globaly.