craft_platforms.rock¶ Rock-specific module for craft-platforms. craft_platforms.rock.get_rock_build_plan(base, platforms, build_base=None)[source]¶ Generate the build plan for a rock. This function uses the default build planner, but filters it to prevent the use of build-for: all Parameters: base (str) – the rock base (e.g. 'ubuntu@24.04') platforms (dict[DebianArchitecture | str, PlatformDict | None]) – the platforms structure in rockcraft.yaml build_base (str | None, default: None) – the build base, if provided in rockcraft.yaml. Return type: Sequence[BuildInfo]