Home
last modified time | relevance | path

Searched refs:AutoCfg (Results 1 - 7 of 7) sorted by relevance

/third_party/rust/crates/autocfg/src/
H A Dtests.rs1 use super::AutoCfg;
5 impl AutoCfg { impls
29 let ac = AutoCfg::for_test().unwrap(); in autocfg_version()
49 let ac = AutoCfg::for_test().unwrap(); in probe_add()
63 let ac = AutoCfg::for_test().unwrap(); in probe_as_ref()
75 let ac = AutoCfg::for_test().unwrap(); in probe_i128()
83 let ac = AutoCfg::for_test().unwrap(); in probe_sum()
96 let ac = AutoCfg::for_test().unwrap(); in probe_std()
102 let ac = AutoCfg::for_test().unwrap(); in probe_alloc()
108 let ac = AutoCfg in probe_bad_sysroot_crate()
[all...]
H A Dlib.rs39 //! Many of the probing methods of `AutoCfg` document the particular template they
83 pub struct AutoCfg { structure names
122 /// Create a new `AutoCfg` instance.
126 /// Panics if `AutoCfg::new()` returns an error.
127 pub fn new() -> AutoCfg { in new()
128 AutoCfg::new().unwrap() in new()
131 impl AutoCfg { impls
132 /// Create a new `AutoCfg` instance.
147 /// Create a new `AutoCfg` instance with the specified output directory.
169 let mut ac = AutoCfg { in with_dir()
[all...]
/third_party/rust/crates/autocfg/tests/
H A Drustflags.rs16 let ac = autocfg::AutoCfg::new().unwrap(); in test_with_sysroot()
25 let ac = autocfg::AutoCfg::new().unwrap(); in test_with_sysroot()
31 let ac = autocfg::AutoCfg::new().unwrap(); in test_with_sysroot()
/third_party/rust/crates/autocfg/examples/
H A Dintegers.rs5 let ac = autocfg::AutoCfg::with_dir("target").unwrap(); in main()
H A Dversions.rs5 let ac = autocfg::AutoCfg::with_dir("target").unwrap(); in main()
H A Dtraits.rs5 let ac = autocfg::AutoCfg::with_dir("target").unwrap(); in main()
H A Dpaths.rs5 let ac = autocfg::AutoCfg::with_dir("target").unwrap(); in main()

Completed in 3 milliseconds