Makes the distro name/version fields non-optional (String instead of Option<String>), since (a) they will never be None in practice (see #820), and (b) it otherwise causes a lot of unnecessary friction for languages that have distro-version-specific binaries and need to use the metadata in multiple places in the buildpack.
Implements Clone and Debug on Target, which unblocks a number of use-cases, such as including the target as part of a buildpack Error enum variant.
String
instead ofOption<String>
), since (a) they will never beNone
in practice (see #820), and (b) it otherwise causes a lot of unnecessary friction for languages that have distro-version-specific binaries and need to use the metadata in multiple places in the buildpack.Clone
andDebug
onTarget
, which unblocks a number of use-cases, such as including the target as part of a buildpack Error enum variant.Fixes #820. GUS-W-15639138.