native_toolchain_rust_common library

Classes

FakeCommand
A command for FakeProcessManager.
FakeProcess
A fake process for use with FakeProcessManager.
FakeProcessManager
NativeManifest
NdkManifestInfo
ProcessManager
Manages the creation of abstract processes.
RustManifestInfo

Constants

hasNoRemainingExpectations → const Matcher
Matcher that successfully matches against a FakeProcessManager with no remaining expectations (item.hasRemainingExpectations returns false).

Functions

runCommand(String executable, List<String> arguments, {String? workingDirectory, Map<String, String>? environment, bool includeParentEnvironment = true, bool runInShell = false, Encoding? stdoutEncoding = systemEncoding, Encoding? stderrEncoding = systemEncoding, Logger? logger}) Future<String>
withProcessManager<T>(ProcessManager processManager, Future<T> run()) Future<T>

Typedefs

VoidCallback = void Function()

Exceptions / Errors

CommandFailedException