Skip to content

Commit bc22cae

Browse files
committed
Specify toolchain in make generate-clients
1 parent 21b7b33 commit bc22cae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ cargo-nightly:
2121
cargo $(nightly) $(ARGS)
2222

2323
generate-clients:
24-
pnpm --dir pinocchio/clients install --frozen-lockfile
25-
pnpm --dir pinocchio/clients run generate
24+
toolchain="$$(make rust-toolchain-nightly)"; \
25+
RUSTUP_TOOLCHAIN="$$toolchain" pnpm --dir pinocchio/clients install --frozen-lockfile; \
26+
RUSTUP_TOOLCHAIN="$$toolchain" pnpm --dir pinocchio/clients run generate
2627

2728
audit:
2829
cargo audit \

0 commit comments

Comments
 (0)