Skip to main content

CONTAINER_DIR

Constant CONTAINER_DIR 

Source
pub const CONTAINER_DIR: &str = "/yah/cache";
Expand description

Conventional container-side directory a cached forge step’s build scratch lives in. Bind-mounted onto a host-persistent, key-scoped dir.

The step’s argv points its own toolchain at this (mesofact-musl exports CARGO_TARGET_DIR="$YAH_CACHE_DIR/target"), the same way it does the source-context fetch — the mount is toolchain-agnostic and the TOML keeps describing what actually runs.