pub struct BuildRuntimeLibraryV2 {
pub cfg: &'static str,
pub target: &'static str,
pub profile: &'static str,
pub flags: &'static [&'static str],
}Expand description
This tasks builds the runtime library for the given target and with the given profile.
Fields§
§cfg: &'static strCustom cfg to use when building this library.
target: &'static strThe target for which this library will be built.
profile: &'static strThe profile to pass to Cargo, e.g. debug or release.
flags: &'static [&'static str]Additional flags passed to rustc.
Trait Implementations§
Source§impl Task for BuildRuntimeLibraryV2
impl Task for BuildRuntimeLibraryV2
Source§type Context = IOSContext
type Context = IOSContext
The type of context that is passed to this task, processed and
subsequently returned by this task.
Source§fn verb(&self) -> &str
fn verb(&self) -> &str
The verb that describes this task (e.g. “Launching” or “Building”) that
is shown to the user while the task is running.
Source§fn message(&self) -> &str
fn message(&self) -> &str
The message that is shown to the user alongside the verb. This usually
starts with a lowercase letter (e.g. “[Generating] source tree”).
Source§fn detail(&self) -> &str
fn detail(&self) -> &str
Optional additional text that is shown to the user alongside the
message. This usually starts with a lowercase letter too (e.g.
Source§fn run(
&self,
context: IOSContext,
_manager: &mut Manager<'_>,
) -> Result<IOSContext, IOSError>
fn run( &self, context: IOSContext, _manager: &mut Manager<'_>, ) -> Result<IOSContext, IOSError>
This function should execute the task.
Auto Trait Implementations§
impl Freeze for BuildRuntimeLibraryV2
impl RefUnwindSafe for BuildRuntimeLibraryV2
impl Send for BuildRuntimeLibraryV2
impl Sync for BuildRuntimeLibraryV2
impl Unpin for BuildRuntimeLibraryV2
impl UnwindSafe for BuildRuntimeLibraryV2
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