Struct escargot::CargoTest [−][src]
pub struct CargoTest { /* fields omitted */ }
The test
subcommand.
Methods
impl CargoTest
[src]
impl CargoTest
pub fn new() -> Self
[src]
pub fn new() -> Self
Shortcut to create a test
subcommand.
pub fn no_run(self) -> Self
[src]
pub fn no_run(self) -> Self
Compile, but don't run tests.
pub fn release(self) -> Self
[src]
pub fn release(self) -> Self
Build artifacts in release mode, with optimizations.
pub fn current_release(self) -> Self
[src]
pub fn current_release(self) -> Self
Build artifacts in release mode if the current process has, with optimizations.
pub fn target<S: AsRef<OsStr>>(self, triplet: S) -> Self
[src]
pub fn target<S: AsRef<OsStr>>(self, triplet: S) -> Self
Build for the target triple.
pub fn current_taget(self) -> Self
[src]
pub fn current_taget(self) -> Self
Build for the current process' triple.
pub fn arg<S: AsRef<OsStr>>(self, arg: S) -> Self
[src]
pub fn arg<S: AsRef<OsStr>>(self, arg: S) -> Self
Manually pass an argument that is unsupported.
Caution: Passing in --
can throw off the API.
pub fn exec(self) -> Result<MessageItr, Error>
[src]
pub fn exec(self) -> Result<MessageItr, Error>