-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/cue: do not allow embedding of CUE file types (for now)
Per the design proposed in https://cuelang.org/discussion/3264, we do not allow CUE file type embeds for now. This CL fixes the MVP implementation to match that initial decision, along with removing the attempted embed of a CUE file across a module boundary. Preventing embedding of files across module boundaries is fixed in another CL, but this change to not attempt the CUE file type embed is needed now, and the case covered in embed_err.txtar. Fixes #3258. Signed-off-by: Paul Jolly <paul@myitcv.io> Change-Id: Ic12297750620ade0cd631a56f73f16c3d0ca156e Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1197337 Reviewed-by: Roger Peppe <rogpeppe@gmail.com> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
- Loading branch information
Showing
3 changed files
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters