Contents of /trunk/rust/patches/rust-1.71.1-0001-cargo-Change-libexec-dir.patch
Parent Directory | Revision Log
Revision 3755 -
(show annotations)
(download)
Sun Aug 6 10:48:54 2023 UTC (9 months, 2 weeks ago) by niro
File size: 824 byte(s)
Sun Aug 6 10:48:54 2023 UTC (9 months, 2 weeks ago) by niro
File size: 824 byte(s)
-rust-1.71.1 archlinux patches
1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
2 | From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org> |
3 | Date: Thu, 6 May 2021 20:13:31 +0200 |
4 | Subject: [PATCH] cargo: Change libexec dir |
5 | |
6 | --- |
7 | src/cargo/util/auth.rs | 2 +- |
8 | 1 file changed, 1 insertion(+), 1 deletion(-) |
9 | |
10 | diff --git a/src/cargo/util/auth.rs b/src/cargo/util/auth.rs |
11 | index f19acaebe080..9edc8d72cae9 100644 |
12 | --- a/src/cargo/util/auth.rs |
13 | +++ b/src/cargo/util/auth.rs |
14 | @@ -826,7 +826,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 |