Skip to content

Commit 374db23

Browse files
committed
Makefile: ensure that cln-grpc depends on msggen generated files.
Looks like a build race, where we use it before it's finished: ``` msggen cln-rpc/src/model.rs error: this file contains an unclosed delimiter --> cln-grpc/src/server.rs:3661:7 | 84 | { | - unclosed delimiter ... 3661 | } | ^ ``` ... ``` make: *** [plugins/Makefile:298: target/release/cln-grpc] Error 101 make: *** Waiting for unfinished jobs.... ``` Signed-off-by: Rusty Russell <[email protected]>
1 parent fffb381 commit 374db23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ CLN_PLUGIN_EXAMPLES := \
294294
CLN_PLUGIN_SRC = $(shell find plugins/src -name "*.rs")
295295
CLN_GRPC_PLUGIN_SRC = $(shell find plugins/grpc-plugin/src -name "*.rs")
296296

297-
target/${RUST_PROFILE}/cln-grpc: ${CLN_PLUGIN_SRC} ${CLN_GRPC_PLUGIN_SRC}
297+
target/${RUST_PROFILE}/cln-grpc: ${CLN_PLUGIN_SRC} ${CLN_GRPC_PLUGIN_SRC} $(MSGGEN_GEN_ALL)
298298
cargo build ${CARGO_OPTS} --bin cln-grpc
299299

300300
ifneq ($(RUST),0)

0 commit comments

Comments
 (0)