Eric Huss
4cb9ac35bf
Add network container tests
2023-01-14 15:10:16 -08:00
bors
88f14290f2
Auto merge of #11582 - ehuss:enable-source_config_env, r=weihanglo
...
Enable source_config_env test on Windows
This enables the `advaned_env::source_config_env` test on Windows. The issue with `Command` modifying the case of environment variables was fixed by https://github.com/rust-lang/rust/pull/85270 .
2023-01-14 19:02:16 +00:00
Eric Huss
73f19a01d0
Enable source_config_env test on Windows
2023-01-14 09:48:46 -08:00
bors
48e0c530d4
Auto merge of #11562 - weihanglo:issue-11552, r=ehuss
...
Support `codegen-backend` and `rustflags` in profiles in config file
2023-01-14 13:53:29 +00:00
Weihang Lo
5c87110184
doc(unstable): add `codegen-backend` to the list of unstable features
2023-01-14 11:14:41 +00:00
Weihang Lo
e6011b0863
doc(unstable): profile-rustflags and codegen-backend in config.toml
2023-01-14 11:14:41 +00:00
Weihang Lo
629f763be8
Support `codegen-backend` and `rustflags` in profiles in config file
2023-01-14 11:14:40 +00:00
bors
98645f1b9a
Auto merge of #11578 - weihanglo:ci-fix, r=epage
...
ci: reflect to clap updates
2023-01-14 10:23:05 +00:00
Weihang Lo
c51c6bb6ac
chore: reflect to clap updates
2023-01-14 09:23:39 +00:00
bors
1cd6d3803d
Auto merge of #11568 - jofas:fix_for_11555, r=weihanglo
...
Fix for #11555
Fix for #11555 . I more or less blindly followed the instructions given by `@weihanglo` in the description of the issue:
1. I replaced every link from `doc.crates.io/contrib/apidoc/cargo` with `doc.rust-lang.org/nightly/nightly-rustc/cargo`
2. Added redirection rule to `src/doc/contrib/book.toml` that should redirect the `/apidoc/cargo/` endpoint to `https://doc.rust-lang.org/nightly/nightly-rustc/cargo `
3. Reverted the changes made to the CI workflow in ba3d2e981b
and 1c82d9c8c3
(building the api docs as part of the contribution guide)
2023-01-12 18:40:36 +00:00
Jonas Fassbender
9fec8d6377
Update src/doc/contrib/book.toml
...
Co-authored-by: Weihang Lo <weihanglo@users.noreply.github.com>
2023-01-12 19:13:53 +01:00
jofas
7bd86d207c
removed steps for api doc creation from action
2023-01-12 14:03:30 +01:00
jofas
e9f599a8fc
redirect contrib/apidoc/cargo/ to new hosting location of cargo api docs
2023-01-12 13:58:45 +01:00
jofas
ab30710e71
replaced all occurences of doc.crates.io/contrib/apidoc/cargo with doc.rust-lang.org/nightly/nightly-rustc/cargo
2023-01-12 12:19:42 +01:00
bors
abc6abe34d
Auto merge of #11561 - epage:typos, r=ehuss
...
chore: Fix typos
Seeing several typo PRs, like #11560 , I figured I'd run my source code spell checker on cargo to help catch a lot of these earlier, in one big batch.
2023-01-11 14:15:24 +00:00
Ed Page
ed8b85f10e
chore: Fix typos
2023-01-10 20:03:11 -06:00
bors
65a0a89482
Auto merge of #11560 - RagnarGrootKoerkamp:master, r=weihanglo
...
fix(docs): fix typo learm => learn in cargo tree docs
Fix a typo in the `cargo tree` docs.
2023-01-11 01:57:06 +00:00
Ragnar Groot Koerkamp
ac855aad08
fix(docs): fix typo learm => learn in cargo tree docs
2023-01-11 02:11:36 +01:00
bors
0849a28cc2
Auto merge of #11556 - pietroalbini:cve-2022-46176, r=weihanglo
...
Add fix for CVE-2022-46176
r? `@ehuss`
2023-01-10 17:26:08 +00:00
Eric Huss
d992ab4e90
known_hosts: Switch the documentation to stable.
...
When making the stable release, the nightly docs won't be updated, yet.
This makes sure that the link will work for the stable release.
2023-01-10 14:36:41 +01:00
Eric Huss
23c547166c
update changelog.
2023-01-10 14:36:40 +01:00
Eric Huss
67ae2dcafe
ssh known_hosts: support hashed hostnames
2023-01-10 14:36:39 +01:00
Eric Huss
018403ceaf
Add test for config Value in TOML array.
2023-01-10 14:36:37 +01:00
Eric Huss
cf716fc3c2
Remove let-else, just use ? propagation.
...
Co-authored-by: Weihang Lo <weihanglo@users.noreply.github.com>
2023-01-10 14:36:36 +01:00
Eric Huss
302a543ddf
Add some known_hosts tests.
...
This also fixes a bug with the host matching when there are comma-separated hosts.
2023-01-10 14:36:34 +01:00
Eric Huss
026bda3fb5
Support configuring ssh known-hosts via cargo config.
2023-01-10 14:36:33 +01:00
Eric Huss
9f62f8440e
Add support for deserializing Vec<Value<String>> in config.
...
This adds the ability to track the definition location of a string
in a TOML array.
2023-01-10 14:36:31 +01:00
Eric Huss
1387fd4105
Validate SSH host keys
2023-01-10 14:36:22 +01:00
bors
247b22f225
Auto merge of #11541 - ehuss:fix-dep-unwrap, r=epage
...
Fix panic on target dependency errors.
Errors while processing a target dependency would cause a panic due to some calls to `unwrap` in the TOML processing code. Those unwraps should not be there, and it should just propagate the errors upwards just like is done for normal dependencies.
Fixes #11540
2023-01-05 02:52:35 +00:00
Eric Huss
fab135885c
Fix panic on ignored target dependency.
2023-01-04 18:44:51 -08:00
bors
c446c2001a
Auto merge of #11538 - ehuss:fix-docs-links, r=weihanglo
...
Fix some doc links
This fixes some links that were broken during the reorganization in #11480 .
2023-01-04 22:59:11 +00:00
bors
8c5cae1843
Auto merge of #11533 - weihanglo:issue-11509, r=ehuss
...
Cargo by default saves credentials to `.cargo/credentials.toml`
2023-01-04 21:10:54 +00:00
Eric Huss
f6af2ba916
Fix some doc links
2023-01-04 10:44:22 -08:00
bors
e2ccb3cceb
Auto merge of #11535 - ehuss:registries-typo, r=weihanglo
...
Fix a typo in the registries documentation.
2023-01-04 16:35:05 +00:00
Weihang Lo
cff549ba38
doc: credentials -> credentials.toml
2023-01-04 16:25:52 +00:00
Weihang Lo
3d862d8d8b
by default saves credentials to `.cargo/credentials.toml`
2023-01-04 16:25:52 +00:00
Eric Huss
948278d51c
Fix a typo in the registries documentation.
2023-01-04 08:24:25 -08:00
bors
8c460b2237
Auto merge of #11534 - weihanglo:fix-nightly-plugins-tests, r=ehuss
...
test: revive nightly plugin tests to work
2023-01-04 14:30:01 +00:00
Weihang Lo
90d5e6a8c9
test: revive nightly plugin tests to work
2023-01-04 13:45:25 +00:00
bors
cd792128e1
Auto merge of #11531 - ehuss:multiple-registries-release-notes, r=epage
...
Add note to release notes about rejecting multiple registries.
This adds a note to the changelog about a change in stable behavior as part of the implementation of RFC 3139.
cc #11524
2023-01-03 19:33:25 +00:00
Eric Huss
a7cfdf664c
Add note to release notes about rejecting multiple registries.
2023-01-03 11:14:51 -08:00
bors
dcfde9c9e4
Auto merge of #11529 - hi-rustin:rustin-patch-typo, r=ehuss
...
Fix a typo `fresheness` -> `freshness`
Fix a typo `fresheness` -> `freshness`.
2023-01-03 02:39:38 +00:00
hi-rustin
c379bf8cb8
Fix typo `fresheness` -> `freshness`
...
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
2023-01-03 10:21:56 +08:00
bors
dd9900585a
Auto merge of #11407 - dnbln:reasons-for-rebuilding, r=weihanglo
...
Reasons for rebuilding
2022-12-30 13:25:46 +00:00
Dinu Blanovschi
6913486a98
Use `DirtyReason::Forced` for cargo install `Freshness`
2022-12-29 23:52:12 +01:00
Dinu Blanovschi
c63b8c0a3a
Minor style fixes
2022-12-29 23:43:29 +01:00
Dinu Blanovschi
7c8ee49bff
cargo fmt
2022-12-29 22:26:40 +01:00
Dinu Blanovschi
ef0951eb86
Apply patch
...
Co-authored-by: Weihang Lo <me@weihanglo.tw>
2022-12-29 22:22:28 +01:00
bors
7fb01c68c1
Auto merge of #10771 - Eh2406:asymmetric_tokens, r=ehuss
...
Asymmetric tokens
Builds on and is blocked by #10592 . This adds initial support for Asymmetric Tokens #10519 .
2022-12-29 16:39:06 +00:00
bors
8ba371b882
Auto merge of #11517 - Chocobo1:github, r=weihanglo
...
Use proper git URL for GitHub repos
Follow up of ce174d4efc
.
2022-12-29 10:53:02 +00:00