code: func OCIPlatform(ps *manifestlist.PlatformSpec) *ocispec.Platform {
  	if ps == nil {
  		return nil
  	}
  	return &ocispec.Platform{
  		Architecture: ps.Architecture,
  		OS:           ps.OS,
  		OSVersion:    ps.OSVersion,
  		OSFeatures:   ps.OSFeatures,
  		Variant:      ps.Variant,
  	}
  }
docs: // OCIPlatform creates an OCI platform from a manifest list platform spec