Skip to main content

resolve_rust_base_image

Function resolve_rust_base_image 

Source
pub fn resolve_rust_base_image(root: &Path) -> String
Expand description

If <root>/rust-toolchain.toml exists and contains [toolchain] channel = "X.Y.Z", return rust:X.Y.Z-slim-bookworm. Else return the hardcoded default rust:1.88-slim-bookworm.