Lines Matching defs:Build

90 pub struct Build {  struct
91 include_directories: Vec<PathBuf>,
92 definitions: Vec<(String, Option<String>)>,
93 objects: Vec<PathBuf>,
94 flags: Vec<String>,
95 flags_supported: Vec<String>,
96 known_flag_support_status: Arc<Mutex<HashMap<String, bool>>>,
97 ar_flags: Vec<String>,
98 no_default_flags: bool,
99 files: Vec<PathBuf>,
100 cpp: bool,
101 cpp_link_stdlib: Option<Option<String>>,
102 cpp_set_stdlib: Option<String>,
103 cuda: bool,
104 target: Option<String>,
105 host: Option<String>,
106 out_dir: Option<PathBuf>,
107 opt_level: Option<String>,
108 debug: Option<bool>,
109 force_frame_pointer: Option<bool>,
110 env: Vec<(OsString, OsString)>,
111 compiler: Option<PathBuf>,
112 archiver: Option<PathBuf>,
113 cargo_metadata: bool,
114 pic: Option<bool>,
115 use_plt: Option<bool>,
116 static_crt: Option<bool>,
117 shared_flag: Option<bool>,
118 static_flag: Option<bool>,
119 warnings_into_errors: bool,
120 warnings: Option<bool>,
121 extra_warnings: Option<bool>,
122 env_cache: Arc<Mutex<HashMap<String, Option<String>>>>,
123 apple_sdk_root_cache: Arc<Mutex<HashMap<String, OsString>>>,
276 impl Build { implementation
335 pub fn include<P: AsRef<Path>>(&mut self, dir: P) -> &mut Build { in include()
380 pub fn define<'a, V: Into<Option<&'a str>>>(&mut self, var: &str, val: V) -> &mut Build { in define()
387 pub fn object<P: AsRef<Path>>(&mut self, obj: P) -> &mut Build { in object()
402 pub fn flag(&mut self, flag: &str) -> &mut Build { in flag() method
419 pub fn ar_flag(&mut self, flag: &str) -> &mut Build { in ar_flag()
520 pub fn flag_if_supported(&mut self, flag: &str) -> &mut Build { in flag_if_supported()
538 pub fn shared_flag(&mut self, shared_flag: bool) -> &mut Build { in shared_flag() method
557 pub fn static_flag(&mut self, static_flag: bool) -> &mut Build { in static_flag() method
568 pub fn no_default_flags(&mut self, no_default_flags: bool) -> &mut Build { in no_default_flags() method
574 pub fn file<P: AsRef<Path>>(&mut self, p: P) -> &mut Build { in file()
595 pub fn cpp(&mut self, cpp: bool) -> &mut Build { in cpp() method
608 pub fn cuda(&mut self, cuda: bool) -> &mut Build { in cuda() method
635 pub fn warnings_into_errors(&mut self, warnings_into_errors: bool) -> &mut Build { in warnings_into_errors() method
656 pub fn warnings(&mut self, warnings: bool) -> &mut Build { in warnings() method
679 pub fn extra_warnings(&mut self, warnings: bool) -> &mut Build { in extra_warnings()
715 ) -> &mut Build { in cpp_link_stdlib()
756 ) -> &mut Build { in cpp_set_stdlib()
776 pub fn target(&mut self, target: &str) -> &mut Build { in target() method
794 pub fn host(&mut self, host: &str) -> &mut Build { in host() method
803 pub fn opt_level(&mut self, opt_level: u32) -> &mut Build { in opt_level() method
812 pub fn opt_level_str(&mut self, opt_level: &str) -> &mut Build { in opt_level_str()
822 pub fn debug(&mut self, debug: bool) -> &mut Build { in debug() method
833 pub fn force_frame_pointer(&mut self, force: bool) -> &mut Build { in force_frame_pointer()
843 pub fn out_dir<P: AsRef<Path>>(&mut self, out_dir: P) -> &mut Build { in out_dir() method
853 pub fn compiler<P: AsRef<Path>>(&mut self, compiler: P) -> &mut Build { in compiler() method
863 pub fn archiver<P: AsRef<Path>>(&mut self, archiver: P) -> &mut Build { in archiver() method
877 pub fn cargo_metadata(&mut self, cargo_metadata: bool) -> &mut Build { in cargo_metadata() method
886 pub fn pic(&mut self, pic: bool) -> &mut Build { in pic() method
901 pub fn use_plt(&mut self, use_plt: bool) -> &mut Build { in use_plt() method
909 pub fn static_crt(&mut self, static_crt: bool) -> &mut Build { in static_crt() method
2631 impl Default for Build { implementation