Abstract
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.
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
Abstract
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
tryCheck if codePath exists in local artifacts cache directory. If it does, don't rebuild it but return it from there.
Generated using TypeDoc
Can compile Rust smart contracts. Will only perform a build if a contract is not built yet or FADROMA_REBUILD=1 is set.