File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ pub(crate) struct Args {
81
81
pub ( crate ) exclude_from_report : Vec < String > ,
82
82
83
83
// /// 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 >,
86
86
/// Build artifacts in release mode, with optimizations
87
87
pub ( crate ) release : bool ,
88
88
/// Build artifacts with the specified profile
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ pub(crate) fn var_os(key: &str) -> Option<OsString> {
22
22
}
23
23
24
24
// 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
26
26
#[ cfg( windows) ]
27
27
pub ( crate ) use home:: home_dir;
28
28
#[ cfg( not( windows) ) ]
@@ -32,10 +32,10 @@ pub(crate) fn home_dir() -> Option<PathBuf> {
32
32
}
33
33
34
34
// 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
39
39
pub ( crate ) fn cargo_home_with_cwd ( cwd : & Path ) -> Option < PathBuf > {
40
40
match var_os ( "CARGO_HOME" ) . map ( PathBuf :: from) {
41
41
Some ( home) => {
You can’t perform that action at this time.
0 commit comments