async def METHOD_NAME(
    request: ScalaRuntimeForResolveRequest,
    jvm_artifact_targets: AllJvmArtifactTargets,
    jvm: JvmSubsystem,
    scala_subsystem: ScalaSubsystem,
) -> ScalaRuntimeForResolve:
    scala_version = scala_subsystem.version_for_resolve(request.resolve_name)
    scala_artifacts = await Get(
        ScalaArtifactsForVersionResult, ScalaArtifactsForVersionRequest(scala_version)
    )
    addresses = find_jvm_artifacts_or_raise(
        required_coordinates=[
            scala_artifacts.library_coordinate,
        ],
        resolve=request.resolve_name,
        jvm_artifact_targets=jvm_artifact_targets,
        jvm=jvm,
        subsystem="the Scala runtime library",
        target_type="scala_sources",
        requirement_source="the relevant entry for this resolve in the `[scala].version_for_resolve` option",
    )
    return ScalaRuntimeForResolve(addresses)