pub struct BuildConfig {
pub root: PathBuf,
pub out_dir: PathBuf,
pub profile: BuildProfileKind,
pub jobs: usize,
pub verbose: bool,
pub warnings: bool,
pub extra_flags: Vec<String>,
}Expand description
Global build configuration.
Fields§
§root: PathBufRoot directory of the project.
out_dir: PathBufOutput/artifact directory.
profile: BuildProfileKindBuild profile (debug, release, etc.).
jobs: usizeNumber of parallel build jobs.
verbose: boolWhether to enable verbose output.
warnings: boolWhether to emit build warnings.
extra_flags: Vec<String>Extra compiler flags.
Implementations§
Source§impl BuildConfig
impl BuildConfig
Trait Implementations§
Source§impl Clone for BuildConfig
impl Clone for BuildConfig
Source§fn clone(&self) -> BuildConfig
fn clone(&self) -> BuildConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuildConfig
impl Debug for BuildConfig
Auto Trait Implementations§
impl Freeze for BuildConfig
impl RefUnwindSafe for BuildConfig
impl Send for BuildConfig
impl Sync for BuildConfig
impl Unpin for BuildConfig
impl UnsafeUnpin for BuildConfig
impl UnwindSafe for BuildConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more