Home
last modified time | relevance | path

Searched refs:rustc (Results 1 – 25 of 211) sorted by relevance

123456789

/third_party/rust/crates/version_check/
DREADME.md7 This tiny crate checks that the running or installed `rustc` meets some version
10 environment variable. If it is not set, then `rustc` is used. If that fails, no
30 extern crate version_check as rustc;
32 if rustc::is_min_version("1.13.0").unwrap_or(false) {
33 println!("cargo:rustc-cfg=question_mark_operator");
40 extern crate version_check as rustc;
42 match rustc::is_min_date("2018-12-18") {
45 None => "Couldn't determine the rustc version."
52 extern crate version_check as rustc;
54 match rustc::is_feature_flaggable() {
[all …]
/third_party/rust/crates/rustc-hash/
DREADME.md1 # rustc-hash
3 [![crates.io](https://img.shields.io/crates/v/rustc-hash.svg)](https://crates.io/crates/rustc-hash)
4 [![Documentation](https://docs.rs/rustc-hash/badge.svg)](https://docs.rs/rustc-hash)
6 A speedy hash algorithm used within rustc. The hashmap in liballoc by
14 values. It consistently out-performs an FNV-based hash within rustc
34 rustc-hash = { version = "1.1", default-features = false }
DCargo.toml2 name = "rustc-hash"
5 description = "speedy, non-cryptographic hash used in rustc"
8 keywords = ["hash", "fxhash", "rustc"]
9 repository = "https://github.com/rust-lang-nursery/rustc-hash"
/third_party/rust/crates/cxx/
Dbuild.rs6 if let Some(rustc) = rustc_version() { in main()
7 if rustc.minor < 60 { in main()
11 rustc.version, in main()
23 let rustc = env::var_os("RUSTC")?; in rustc_version() localVariable
24 let output = Command::new(rustc).arg("--version").output().ok()?; in rustc_version()
/third_party/rust/crates/serde/serde_test/
Dbuild.rs22 let rustc = match env::var_os("RUSTC") { in rustc_minor_version() localVariable
23 Some(rustc) => rustc, in rustc_minor_version()
27 let output = match Command::new(rustc).arg("--version").output() { in rustc_minor_version()
/third_party/rust/crates/autocfg/
DREADME.md6 ![minimum rustc 1.0](https://img.shields.io/badge/rustc-1.0+-red.svg)
10 compiler support. Code snippets are dynamically tested to see if the `rustc`
38 If the type test succeeds, this will write a `cargo:rustc-cfg=has_i128` line
64 - Mask some warnings from newer rustc.
68 - Improve `rustc` bootstrap compatibility.
80 This crate's minimum supported `rustc` version is `1.0.0`. Compatibility is
/third_party/rust/crates/autocfg/src/
Dlib.rs85 rustc: PathBuf, field
156 let rustc = env::var_os("RUSTC").unwrap_or_else(|| "rustc".into()); in with_dir() localVariable
157 let rustc: PathBuf = rustc.into(); in with_dir() localVariable
158 let rustc_version = try!(Version::from_rustc(&rustc)); in with_dir()
172 rustc: rustc, in with_dir()
210 let mut command = Command::new(&self.rustc); in probe()
/third_party/rust/crates/serde/serde/
Dbuild.rs114 let rustc = match env::var_os("RUSTC") { in rustc_minor_version() localVariable
115 Some(rustc) => rustc, in rustc_minor_version()
119 let output = match Command::new(rustc).arg("--version").output() { in rustc_minor_version()
/third_party/gn/examples/rust_example/build/
DBUILD.gn5 …command = "rustc --crate-name {{crate_name}} {{source}} --crate-type {{crate_type}} --emit=dep-inf…
13 …command = "rustc --crate-name {{crate_name}} {{source}} --crate-type {{crate_type}} --emit=dep-inf…
21 …command = "rustc --crate-name {{crate_name}} {{source}} --crate-type {{crate_type}} --emit=dep-inf…
29 …command = "rustc --crate-name {{crate_name}} {{source}} --crate-type {{crate_type}} --emit=dep-inf…
/third_party/rust/crates/unicode-width/
DCargo.toml21 std = { version = "1.0", package = "rustc-std-workspace-std", optional = true }
22 core = { version = "1.0", package = "rustc-std-workspace-core", optional = true }
29 rustc-dep-of-std = ['std', 'core', 'compiler_builtins']
/third_party/rust/crates/which-rs/
DREADME.md15 1) To find which rustc executable binary is using.
20 let result = which("rustc").unwrap();
21 assert_eq!(result, PathBuf::from("/usr/bin/rustc"));
/third_party/rust/crates/io-lifetimes/
Dbuild.rs47 let rustc = var("RUSTC").unwrap(); in can_compile() localVariable
53 cmd.arg(rustc); in can_compile()
56 std::process::Command::new(rustc) in can_compile()
/third_party/rust/crates/libc/
DCargo.toml22 rustc-std-workspace-core = { version = "1.0.0", optional = true }
28 rustc-dep-of-std = ['align', 'rustc-std-workspace-core']
/third_party/rust/crates/version_check/static/stable/verbose/
Drustc-1.2.01 rustc 1.2.0 (082e47636 2015-08-03)
2 binary: rustc
Drustc-1.10.01 rustc 1.10.0 (cfcb716cf 2016-07-03)
2 binary: rustc
Drustc-1.13.01 rustc 1.13.0 (2c6933acc 2016-11-07)
2 binary: rustc
Drustc-1.8.01 rustc 1.8.0 (db2939409 2016-04-11)
2 binary: rustc
Drustc-1.12.01 rustc 1.12.0 (3191fbae9 2016-09-23)
2 binary: rustc
Drustc-1.4.01 rustc 1.4.0 (8ab8581f6 2015-10-27)
2 binary: rustc
Drustc-1.6.01 rustc 1.6.0 (c30b771ad 2016-01-19)
2 binary: rustc
Drustc-1.5.01 rustc 1.5.0 (3d7cd77e4 2015-12-04)
2 binary: rustc
Drustc-1.3.01 rustc 1.3.0 (9a92aaf19 2015-09-15)
2 binary: rustc
Drustc-1.7.01 rustc 1.7.0 (a5d1e7a59 2016-02-29)
2 binary: rustc
Drustc-1.50.01 rustc 1.50.0 (cb75ad5db 2021-02-10)
2 binary: rustc
Drustc-1.11.01 rustc 1.11.0 (9b21dcd6a 2016-08-15)
2 binary: rustc

123456789