Skip to content

Commit 0d1eded

Browse files
committed
Update rust-lang/cargo links
1 parent 653e736 commit 0d1eded

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ pub(crate) struct Args {
8181
pub(crate) exclude_from_report: Vec<String>,
8282

8383
// /// Number of parallel jobs, defaults to # of CPUs
84-
// // Max value is u32::MAX: https://github.com/rust-lang/cargo/blob/0.62.0/src/cargo/util/command_prelude.rs#L356
85-
// pub(crate) jobs: Option<u32>,
84+
// // i32 or string "default": https://github.com/rust-lang/cargo/blob/0.80.0/src/cargo/core/compiler/build_config.rs#L84-L97
85+
// pub(crate) jobs: Option<i32>,
8686
/// Build artifacts in release mode, with optimizations
8787
pub(crate) release: bool,
8888
/// Build artifacts with the specified profile

src/env.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub(crate) fn var_os(key: &str) -> Option<OsString> {
2222
}
2323

2424
// Use the home crate only on Windows which std::env::home_dir is not correct.
25-
// https://github.com/rust-lang/cargo/blob/b2e1d3b6235c07221dd0fcac54a7b0c754ef8b11/crates/home/src/lib.rs#L65-L72
25+
// https://github.com/rust-lang/cargo/blob/0.80.0/crates/home/src/lib.rs#L65-L72
2626
#[cfg(windows)]
2727
pub(crate) use home::home_dir;
2828
#[cfg(not(windows))]
@@ -32,10 +32,10 @@ pub(crate) fn home_dir() -> Option<PathBuf> {
3232
}
3333

3434
// Follow the cargo's behavior.
35-
// https://github.com/rust-lang/cargo/blob/b2e1d3b6235c07221dd0fcac54a7b0c754ef8b11/crates/home/src/lib.rs#L77-L86
36-
// https://github.com/rust-lang/cargo/blob/b2e1d3b6235c07221dd0fcac54a7b0c754ef8b11/crates/home/src/lib.rs#L114-L123
37-
// https://github.com/rust-lang/cargo/blob/b2e1d3b6235c07221dd0fcac54a7b0c754ef8b11/crates/home/src/env.rs#L63-L77
38-
// https://github.com/rust-lang/cargo/blob/b2e1d3b6235c07221dd0fcac54a7b0c754ef8b11/crates/home/src/env.rs#L92-L106
35+
// https://github.com/rust-lang/cargo/blob/0.80.0/crates/home/src/lib.rs#L77-L86
36+
// https://github.com/rust-lang/cargo/blob/0.80.0/crates/home/src/lib.rs#L114-L123
37+
// https://github.com/rust-lang/cargo/blob/0.80.0/crates/home/src/env.rs#L63-L77
38+
// https://github.com/rust-lang/cargo/blob/0.80.0/crates/home/src/env.rs#L92-L106
3939
pub(crate) fn cargo_home_with_cwd(cwd: &Path) -> Option<PathBuf> {
4040
match var_os("CARGO_HOME").map(PathBuf::from) {
4141
Some(home) => {

0 commit comments

Comments
 (0)