Skip to content

Commit a86e8fb

Browse files
committed
Makefile: allow warnings for installing cross
Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
1 parent d527d0f commit a86e8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ tests/clean:
147147
# pin cross to a specific commit to avoid breaking changes
148148
.PHONY: install-cross install-k3d check-bins pod-status-check setup
149149
install-cross:
150-
@if [ -z $$(which cross) ]; then cargo install cross --git https://github.com/cross-rs/cross --rev 49338b18fdb82dedb2a813664e2e565ca73e2047; fi
150+
@if [ -z $$(which cross) ]; then RUSTFLAGS="-A warnings" cargo install cross --git https://github.com/cross-rs/cross --rev 49338b18fdb82dedb2a813664e2e565ca73e2047; fi
151151
@cross -V 2>/dev/null | grep 49338b1 || echo "WARN: unsupported version of cross found. Building containerd-shim-spin requires specific version of cross.\n\nPlease uninstall and run make install-cross to install the supported version."
152152

153153
install-k3d:

0 commit comments

Comments
 (0)