Raise error when using BUILD_FOR
envvars on multi-arch and unknown builds
#4314
Labels
enhancement
New features or optimizations
What needs to get done
#4313 added the following environment variables for core20 snaps:
Multi-arch builds and builds with unknown architectures do not evaluate
SNAPCRAFT_ARCH_BUILD_FOR
orSNAPCRAFT_ARCH_TRIPLET_BUILD_FOR
.When these envvars are used in a snapcraft.yaml, an error should be raised, explaining to the user why they cannot use these envvars.
Why it needs to get done
This will improve the user experience for core20 snaps, where users are allowed to build for multiple architectures and unknown architectures.
The text was updated successfully, but these errors were encountered: