pub struct RustSourceBuilder { /* private fields */ }Expand description
Rust source builder for the Rialo toolchain
Implementations§
Source§impl RustSourceBuilder
impl RustSourceBuilder
Sourcepub fn with_config(
install_dir: PathBuf,
config: SourceBuildConfig,
) -> Result<Self>
pub fn with_config( install_dir: PathBuf, config: SourceBuildConfig, ) -> Result<Self>
Create a new builder with custom configuration
Sourcepub fn clone_source(&self) -> Result<()>
pub fn clone_source(&self) -> Result<()>
Clone the Rust source repository
Sourcepub fn apply_patches(&self) -> Result<()>
pub fn apply_patches(&self) -> Result<()>
Apply patches to the Rust source
Sourcepub fn create_config_toml(&self) -> Result<()>
pub fn create_config_toml(&self) -> Result<()>
Create config.toml for the Rust build
Sourcepub fn build_complete(&self) -> Result<()>
pub fn build_complete(&self) -> Result<()>
Complete build process: clone, patch, configure, build, install
Auto Trait Implementations§
impl Freeze for RustSourceBuilder
impl RefUnwindSafe for RustSourceBuilder
impl Send for RustSourceBuilder
impl Sync for RustSourceBuilder
impl Unpin for RustSourceBuilder
impl UnsafeUnpin for RustSourceBuilder
impl UnwindSafe for RustSourceBuilder
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more