Optional
options: Partial<ContainerizedLocalRustCompiler>Optional
buildOwner gid that is set on build artifacts.
Tag of the docker image for the build container.
Path to the dockerfile for the build container if missing.
Docker image to use for dockerized builds.
Optional
buildOwner uid that is set on build artifacts.
Whether to enable caching and reuse contracts from artifacts directory.
Used to launch build container.
Path to Docker API endpoint.
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.
Owner gid that is set on build artifacts.
Owner uid that is set on build artifacts.
Whether the build log should be printed only on error, or always
Default Git reference from which to build sources.
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
getProtected
logProtected
populateProtected
resolvea fully populated RustSourceCode from the original.
Protected
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 a container.