Home
last modified time | relevance | path

Searched refs:RustTarget (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/bindgen/src/
Dfeatures.rs20 pub enum RustTarget {
29 impl Default for RustTarget {
31 fn default() -> RustTarget {
36 impl FromStr for RustTarget {
47 stringify!($value) => Ok(RustTarget::$release),
60 impl From<RustTarget> for String {
61 fn from(target: RustTarget) -> Self {
64 RustTarget::$release => stringify!($value),
137 pub const LATEST_STABLE_RUST: RustTarget = RustTarget::Stable_1_40;
169 impl From<RustTarget> for RustFeatures {
[all …]
Doptions.rs3 MacroTypeVariation, RustTarget, DEFAULT_ANON_FIELDS_PREFIX,
22 String::from(RustTarget::default()) in builder_from_flags()
524 builder = builder.rust_target(RustTarget::Nightly); in builder_from_flags()
533 builder = builder.rust_target(RustTarget::from_str(rust_target)?); in builder_from_flags()
Dlib.rs71 RustTarget, LATEST_STABLE_RUST, RUST_TARGET_STRINGS,
627 pub fn rust_target(mut self, rust_target: RustTarget) -> Self { in rust_target()
1312 RustTarget::Nightly in unstable_rust()
1845 rust_target: RustTarget,
1941 pub fn set_rust_target(&mut self, rust_target: RustTarget) { in set_rust_target() argument
1956 let rust_target = RustTarget::default(); in default()