Skip to content

Commit 5c8a284

Browse files
committed
Auto merge of #13004 - weihanglo:rust-1.74.0-bump-credential, r=ehuss
[stable-1.74] chore: bump `cargo-credential-*` crates as e58b84d broke stuff
2 parents ecb9851 + 9f68d56 commit 5c8a284

File tree

11 files changed

+10
-568
lines changed

11 files changed

+10
-568
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
- name: Install cargo-semver-checks
9999
run: |
100100
mkdir installed-bins
101-
curl -Lf https://github.com/obi1kenobi/cargo-semver-checks/releases/download/v0.22.1/cargo-semver-checks-x86_64-unknown-linux-gnu.tar.gz \
101+
curl -Lf https://github.com/obi1kenobi/cargo-semver-checks/releases/download/v0.24.0/cargo-semver-checks-x86_64-unknown-linux-gnu.tar.gz \
102102
| tar -xz --directory=./installed-bins
103103
echo `pwd`/installed-bins >> $GITHUB_PATH
104104
- run: ci/validate-version-bump.sh

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ base64 = "0.21.3"
2323
bytesize = "1.3"
2424
cargo = { path = "" }
2525
cargo-credential = { version = "0.4.0", path = "credential/cargo-credential" }
26-
cargo-credential-libsecret = { version = "0.3.1", path = "credential/cargo-credential-libsecret" }
27-
cargo-credential-wincred = { version = "0.3.0", path = "credential/cargo-credential-wincred" }
28-
cargo-credential-macos-keychain = { version = "0.3.0", path = "credential/cargo-credential-macos-keychain" }
26+
cargo-credential-libsecret = { version = "0.4.0", path = "credential/cargo-credential-libsecret" }
27+
cargo-credential-wincred = { version = "0.4.0", path = "credential/cargo-credential-wincred" }
28+
cargo-credential-macos-keychain = { version = "0.4.0", path = "credential/cargo-credential-macos-keychain" }
2929
cargo-platform = { path = "crates/cargo-platform", version = "0.1.4" }
3030
cargo-test-macro = { path = "crates/cargo-test-macro" }
3131
cargo-test-support = { path = "crates/cargo-test-support" }

credential/cargo-credential-libsecret/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-credential-libsecret"
3-
version = "0.3.2"
3+
version = "0.4.0"
44
edition.workspace = true
55
license.workspace = true
66
repository = "https://github.com/rust-lang/cargo"

credential/cargo-credential-macos-keychain/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-credential-macos-keychain"
3-
version = "0.3.1"
3+
version = "0.4.0"
44
edition.workspace = true
55
license.workspace = true
66
repository = "https://github.com/rust-lang/cargo"

credential/cargo-credential-wincred/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-credential-wincred"
3-
version = "0.3.1"
3+
version = "0.4.0"
44
edition.workspace = true
55
license.workspace = true
66
repository = "https://github.com/rust-lang/cargo"

src/cargo/core/resolver/context.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ use std::collections::HashMap;
1010
use std::num::NonZeroU64;
1111
use tracing::debug;
1212

13-
pub use super::encode::Metadata;
14-
pub use super::encode::{EncodableDependency, EncodablePackageId, EncodableResolve};
15-
pub use super::resolve::Resolve;
16-
1713
// A `Context` is basically a bunch of local resolution information which is
1814
// kept around for all `BacktrackFrame` instances. As a result, this runs the
1915
// risk of being cloned *a lot* so we want to make this as cheap to clone as

tests/testsuite/cross_compile.rs

Lines changed: 0 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -411,92 +411,6 @@ fn linker() {
411411
.run();
412412
}
413413

414-
#[cargo_test(nightly, reason = "plugins are unstable")]
415-
fn plugin_with_extra_dylib_dep() {
416-
if cross_compile::disabled() {
417-
return;
418-
}
419-
420-
let foo = project()
421-
.file(
422-
"Cargo.toml",
423-
r#"
424-
[package]
425-
name = "foo"
426-
version = "0.0.1"
427-
authors = []
428-
429-
[dependencies.bar]
430-
path = "../bar"
431-
"#,
432-
)
433-
.file(
434-
"src/main.rs",
435-
r#"
436-
#![feature(plugin)]
437-
#![plugin(bar)]
438-
439-
fn main() {}
440-
"#,
441-
)
442-
.build();
443-
let _bar = project()
444-
.at("bar")
445-
.file(
446-
"Cargo.toml",
447-
r#"
448-
[package]
449-
name = "bar"
450-
version = "0.0.1"
451-
authors = []
452-
453-
[lib]
454-
name = "bar"
455-
plugin = true
456-
457-
[dependencies.baz]
458-
path = "../baz"
459-
"#,
460-
)
461-
.file(
462-
"src/lib.rs",
463-
r#"
464-
#![feature(rustc_private)]
465-
466-
extern crate baz;
467-
extern crate rustc_driver;
468-
469-
use rustc_driver::plugin::Registry;
470-
471-
#[no_mangle]
472-
pub fn __rustc_plugin_registrar(reg: &mut Registry) {
473-
println!("{}", baz::baz());
474-
}
475-
"#,
476-
)
477-
.build();
478-
let _baz = project()
479-
.at("baz")
480-
.file(
481-
"Cargo.toml",
482-
r#"
483-
[package]
484-
name = "baz"
485-
version = "0.0.1"
486-
authors = []
487-
488-
[lib]
489-
name = "baz"
490-
crate_type = ["dylib"]
491-
"#,
492-
)
493-
.file("src/lib.rs", "pub fn baz() -> i32 { 1 }")
494-
.build();
495-
496-
let target = cross_compile::alternate();
497-
foo.cargo("build --target").arg(&target).run();
498-
}
499-
500414
#[cargo_test]
501415
fn cross_tests() {
502416
if !cross_compile::can_run_on_host() {

tests/testsuite/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ mod patch;
131131
mod path;
132132
mod paths;
133133
mod pkgid;
134-
mod plugins;
135134
mod proc_macro;
136135
mod profile_config;
137136
mod profile_custom;

0 commit comments

Comments
 (0)