rust: Use $CARGO_OPTS when building the example plugin

This commit is contained in:
Christian Decker
2022-02-25 12:06:13 +01:00
parent 75f0b8e916
commit 6332578070

View File

@@ -11,6 +11,6 @@ $(CLN_RPC_GENALL): $(JSON_SCHEMA)
PYTHONPATH=contrib/msggen python3 contrib/msggen/msggen/__main__.py
target/debug/examples/cln-rpc-getinfo: $(shell find cln-rpc -name *.rs)
cargo build --example cln-rpc-getinfo
cargo build ${CARGO_OPTS} --example cln-rpc-getinfo
cln-rpc-all: ${CLN_RPC_GEN_ALL} ${CLN_RPC_EXAMPLES}