diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-04-19 11:32:10 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-04-19 11:32:10 +0200 |
commit | ec15b36a5bca5916ba06dcff83bb8ea46b25446a (patch) | |
tree | 84d39c5f4f58843fce881995ac286647ee73f107 | |
parent | 48f4317f428719a55c70ac7a8a58df834418cd17 (diff) | |
download | rules-cc-ec15b36a5bca5916ba06dcff83bb8ea46b25446a.tar.gz |
CC/proto toolchain staging: add missing else
If we have a provided toolchain, we stage it to the corresponding subdirectory.
Otherwise, we still have to provide a value of the correct type (a map) rather
than the default else (which is the empty list).
-rw-r--r-- | CC/proto/EXPRESSIONS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CC/proto/EXPRESSIONS b/CC/proto/EXPRESSIONS index d2705f1..118c41a 100644 --- a/CC/proto/EXPRESSIONS +++ b/CC/proto/EXPRESSIONS @@ -122,6 +122,7 @@ , "subdir": {"type": "var", "name": "TOOLCHAIN_DIR"} , "$1": {"type": "var", "name": "TOOLCHAIN"} } + , "else": {"type": "empty_map"} } ] , [ "PROTOC" |