Lines Matching refs:probe
179 if !ac.probe("").unwrap_or(false) {
181 if !ac.probe("").unwrap_or(false) {
184 let warning = b"warning: autocfg could not probe for `std`\n";
205 fn probe<T: AsRef<[u8]>>(&self, code: T) -> Result<bool, Error> {
213 .arg(format!("probe{}", id))
244 /// extern crate CRATE as probe;
247 self.probe(format!("extern crate {} as probe;", name)) // `as _` wasn't stabilized until Rust 1.33
266 self.probe(format!("pub use {};", path)).unwrap_or(false)
294 self.probe(format!("pub trait Probe: {} + Sized {{}}", name))
323 self.probe(format!("pub type Probe = {};", name))
349 /// pub fn probe() { let _ = EXPR; }
352 self.probe(format!("pub fn probe() {{ let _ = {}; }}", expr))
371 self.probe(format!("pub const PROBE: () = ((), {}).0;", expr))