mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 19:32:44 +01:00
- drop need-rpath.patch - make it clear that it is our *rust* version, mainly for output from cargo --version - move target-spec-json-schema.json to -doc subpackage, we do not want to introduce a /usr/etc here (rustc --print sysroot), there is also rustc --print target-spec-json-schema - skip two bootstrap sanity checks - initially I just disabled these to see how far we would get, but it seems like we can build just fine without these (also tested with a few rust aports)
23 lines
1.0 KiB
Diff
23 lines
1.0 KiB
Diff
--- a/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs
|
|
+++ b/compiler/rustc_target/src/spec/targets/aarch64_unknown_uefi.rs
|
|
@@ -10,6 +10,7 @@ pub(crate) fn target() -> Target {
|
|
base.add_pre_link_args(LinkerFlavor::Msvc(Lld::No), &["/machine:arm64"]);
|
|
base.features = "+v8a".into();
|
|
|
|
+ base.linker = Some("lld".into());
|
|
Target {
|
|
llvm_target: "aarch64-unknown-windows".into(),
|
|
metadata: TargetMetadata {
|
|
diff --git a/compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs b/compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs
|
|
index 0cf6a8794621..b7ed54eb8cdd 100644
|
|
--- a/compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs
|
|
+++ b/compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs
|
|
@@ -29,6 +29,7 @@ pub(crate) fn target() -> Target {
|
|
base.features = "-mmx,-sse,+soft-float".into();
|
|
base.rustc_abi = Some(RustcAbi::X86Softfloat);
|
|
|
|
+ base.linker = Some("lld".into());
|
|
Target {
|
|
llvm_target: "x86_64-unknown-windows".into(),
|
|
metadata: TargetMetadata {
|