mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Fail fast when using old define=ssz=<value> (#9316)
* Fail fast when using old define=ssz=<value> * remove print statement
This commit is contained in:
@@ -5,6 +5,9 @@ load(
|
||||
)
|
||||
|
||||
def _ssz_go_proto_library_impl(ctx):
|
||||
if ctx.var.get("ssz"):
|
||||
fail("--define=ssz=<value> is no longer supported, please use --//proto:network=<value>")
|
||||
|
||||
if ctx.attr.go_proto != None:
|
||||
go_proto = ctx.attr.go_proto
|
||||
input_files = go_proto[OutputGroupInfo].go_generated_srcs.to_list()
|
||||
|
||||
Reference in New Issue
Block a user