Skip to content
Myr

Remove outdated version check

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent 3a0bcd9 · Browse files · 3 files+0 added−19 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+0 added−19 removed

  • other:+0 added−19 removed

3 files+0 added−19 removed

modified:build.rs-11 removed
3 unmodified lines
45include!("src/app.rs");67fn main() {8 let min_version = "1.39";910 match version_check::is_min_version(min_version) {11 Some(true) => {}12 // rustc version too small or can't figure it out13 _ => {14 eprintln!("'hyperfine' requires rustc >= {}", min_version);15 std::process::exit(1);16 }17 }188 let var = std::env::var_os("SHELL_COMPLETIONS_DIR").or_else(|| std::env::var_os("OUT_DIR"));9 let outdir = match var {10 None => return,11 Some(outdir) => outdir,
9 unmodified lines
modified:Cargo.lock-7 removed
243 unmodified lines
244 "serde",245 "serde_json",246 "statistical",247 "tempfile",248 "version_check",248 "winapi",249]250251[[package]]
523 unmodified lines
775source = "registry+https://github.com/rust-lang/crates.io-index"776checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"777778[[package]]780name = "version_check"781version = "0.9.3"782source = "registry+https://github.com/rust-lang/crates.io-index"783checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe"784785[[package]]779name = "wait-timeout"780version = "0.2.0"781source = "registry+https://github.com/rust-lang/crates.io-index"782checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6"
31 unmodified lines
modified:Cargo.toml-1 removed