Lines Matching defs:new
24 //! let ac = autocfg::new();
122 /// Create a new `AutoCfg` instance.
126 /// Panics if `AutoCfg::new()` returns an error.
127 pub fn new() -> AutoCfg {
128 AutoCfg::new().unwrap()
132 /// Create a new `AutoCfg` instance.
140 pub fn new() -> Result<Self, Error> {
147 /// Create a new `AutoCfg` instance with the specified output directory.
194 self.rustc_version >= Version::new(major, minor, 0)
210 let mut command = Command::new(&self.rustc);
422 Vec::new()
452 Vec::new()