Skip to content

Commit 87f4b1b

Browse files
committed
Auto merge of #12830 - weihanglo:compat-notice, r=epage
changelog: add compat notice for `cargo login -- <arg>`
2 parents c857ebb + edfd903 commit 87f4b1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,10 @@
246246
- ❗️ Cargo now bails out when using `cargo::` in custom build scripts. This is
247247
a preparation for an upcoming change in build script invocations.
248248
[#12332](https://github.com/rust-lang/cargo/pull/12332)
249+
- ❗️ `cargo login` no longer accept any token after the `--` syntax.
250+
Arguments after `--` are now reserved in the preparation of the new credential provider feature.
251+
This introduces a regression that overlooks the `cargo login -- <token>` support in preivous versions.
252+
[#12499](https://github.com/rust-lang/cargo/pull/12499)
249253
- Make Cargo `--help` easier to browse.
250254
[#11905](https://github.com/rust-lang/cargo/pull/11905)
251255
- Prompt the use of `--nocapture` flag if `cargo test` process is terminated via a signal.

0 commit comments

Comments
 (0)