pub struct ExecutionConfig {
pub allowlist: Vec<String>,
}Expand description
Execution allowlist configuration for remote builds (bd-785w).
Controls which command base names are permitted for remote execution. Commands not in the allowlist will fail-open to local execution.
Fields§
§allowlist: Vec<String>Allowlist of command base names permitted for remote execution.
Examples: “cargo”, “rustc”, “gcc”, “bun”
If a classified compilation command’s base name is not in this list, RCH will fail-open to local execution with a clear reason.
An empty allowlist disables all remote execution (local only).
Implementations§
Source§impl ExecutionConfig
impl ExecutionConfig
Sourcepub fn is_allowed(&self, command_base: &str) -> bool
pub fn is_allowed(&self, command_base: &str) -> bool
Check if a command base name is allowed for remote execution.
Sourcepub fn missing_builtin_bases(&self) -> Vec<&'static str>
pub fn missing_builtin_bases(&self) -> Vec<&'static str>
Built-in compilation tool bases that this allowlist does NOT admit.
Empty for the default allowlist. Non-empty means some command family rch classifies as compilation will always fall open to local execution on this box — usually because the config file predates that family.