moving packages
This commit is contained in:
parent
d2235a7fc5
commit
7488ce0293
48 changed files with 0 additions and 0 deletions
22
base/rust/libexec.patch
Normal file
22
base/rust/libexec.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
--- a/src/bootstrap/dist.rs
|
||||
+++ b/src/bootstrap/dist.rs
|
||||
@@ -980,7 +980,7 @@
|
||||
for dirent in fs::read_dir(cargo.parent().unwrap()).expect("read_dir") {
|
||||
let dirent = dirent.expect("read dir entry");
|
||||
if dirent.file_name().to_str().expect("utf8").starts_with("cargo-credential-") {
|
||||
- tarball.add_file(&dirent.path(), "libexec", 0o755);
|
||||
+ tarball.add_file(&dirent.path(), "lib", 0o755);
|
||||
}
|
||||
}
|
||||
|
||||
--- a/src/tools/cargo/src/cargo/ops/registry/auth.rs
|
||||
+++ b/src/tools/cargo/src/cargo/ops/registry/auth.rs
|
||||
@@ -223,7 +223,7 @@
|
||||
.parent()
|
||||
.and_then(|p| p.parent())
|
||||
.ok_or_else(|| format_err!("expected cargo path {}", cargo.display()))?;
|
||||
- let exe = root.join("libexec").join(format!(
|
||||
+ let exe = root.join("lib").join(format!(
|
||||
"cargo-credential-{}{}",
|
||||
cred_name,
|
||||
std::env::consts::EXE_SUFFIX
|
Loading…
Add table
Add a link
Reference in a new issue