archrelease: copy trunk to extra-x86_64
[arch-packages.git] / rust / trunk / 0001-cargo-Change-libexec-dir.patch
blobaa60e443e5d5f23ac749a9350cfc24e382581045
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
3 Date: Thu, 6 May 2021 20:13:31 +0200
4 Subject: [PATCH] cargo: Change libexec dir
6 ---
7 src/cargo/ops/registry/auth.rs | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/src/cargo/ops/registry/auth.rs b/src/cargo/ops/registry/auth.rs
11 index d10b1988e920..b58e05857233 100644
12 --- a/src/cargo/ops/registry/auth.rs
13 +++ b/src/cargo/ops/registry/auth.rs
14 @@ -223,7 +223,7 @@ fn sysroot_credential(
15 .parent()
16 .and_then(|p| p.parent())
17 .ok_or_else(|| format_err!("expected cargo path {}", cargo.display()))?;
18 - let exe = root.join("libexec").join(format!(
19 + let exe = root.join("lib").join(format!(
20 "cargo-credential-{}{}",
21 cred_name,
22 std::env::consts::EXE_SUFFIX