RustToolchainExists
constRustToolchainExists:object
Defined in: policies/RustToolchainExists.ts:24
A policy that requires a rust-toolchain.toml file for reproducible Rust builds.
Type Declaration
Section titled “Type Declaration”description
Section titled “description”description:
string="Ensures a rust-toolchain.toml file exists for reproducible Rust builds."
handler
Section titled “handler”handler: (
__namedParameters) =>Promise<object[]>
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”PolicyArgs<RustToolchainExistsConfig>
Returns
Section titled “Returns”Promise<object[]>
match:
RegExp
name:
string="RustToolchainExists"