From bbfa61e70c189fa9a11c03b14a06798ae7ae50c3 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Sat, 15 Aug 2026 16:48:57 -0400 Subject: [PATCH] fix(xplr) closes #14083 --- projects/xplr.dev/package.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/projects/xplr.dev/package.yml b/projects/xplr.dev/package.yml index 46f68827d5..bc153ff413 100644 --- a/projects/xplr.dev/package.yml +++ b/projects/xplr.dev/package.yml @@ -12,12 +12,16 @@ build: dependencies: rust-lang.org: '>=1.56' rust-lang.org/cargo: '*' + linux/aarch64: + crates.io/edikt: '*' script: - # linux/aarch64 wants aarch64-linux-gnu-gcc - - run: | - mkdir .bin - ln -s "$(command -v clang)" .bin/aarch64-linux-gnu-gcc - export PATH="$PWD/.bin:$PATH" + # .cargo/config.toml pins a cross-compiler linker for this target + # (-C linker=aarch64-linux-gnu-gcc), which does not exist here; we used to + # fake it with a clang symlink on PATH. Drop the pin and let cargo use the + # default linker instead. Only the linker flag goes: -rdynamic is the + # reason the file exists (upstream issue #309) and is preserved. + - run: edikt -i '.target."aarch64-unknown-linux-gnu".rustflags = ["-C", "link-args=-rdynamic"]' config.toml + working-directory: .cargo if: linux/aarch64 - cargo install --path . --root {{prefix}}