fn ensure_selected( dir: &Path, e: &ExpertLayout, bits: &[u32], force: bool, allow_build: bool, ) -> Result<Vec<Layout>>