Optional
options: Partial<LocalRustCompiler>Optional
buildOwner gid that is set on build artifacts.
Optional
buildOwner uid that is set on build artifacts.
Whether to enable caching and reuse contracts from artifacts directory.
Readonly
idUnique identifier of this compiler implementation.
Whether to skip any git fetch
calls in the build script.
Name of directory where build artifacts are collected.
Whether the build log should be printed only on error, or always
Default Git reference from which to build sources.
Node.js runtime that runs the build subprocess. Defaults to the same one that is running this script.
Optional
scriptThe build script.
Version of Rust toolchain to use.
Whether the build process should print more detail to the console.
Compile a single contract.
Protected
buildThis implementation groups the passed source by workspace and ref, in order to launch one build container per workspace/ref combination and have it build all the crates from that combination in sequence, reusing the container's internal intermediate build cache.
Protected
collectProtected
logProtected
populateProtected
resolvea fully populated RustSourceCode from the original.
Protected
spawnProtected
tryCheck if codePath exists in local artifacts cache directory. If it does, don't rebuild it but return it from there.
Generated using TypeDoc
Runs the build script in the current envionment.