Skip to content

Commit 49d0c57

Browse files
authored
Merge pull request #122 from rajatjindal/cross-warning
2 parents d9d5777 + 92fddb3 commit 49d0c57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ build: build-spin-cross-$(TARGET)
9393
.PHONY: install-cross
9494
install-cross:
9595
@if [ -z $$(which cross) ]; then cargo install cross --git https://github.com/cross-rs/cross --rev 5896ed1359642510855ca9ee50ce7fdf75c50e3c; fi
96+
@cross -V 2>/dev/null | grep 5896ed1 || 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."
9697

9798
# build-cross can be be used to build any cross supported target (make build-cross-x86_64-unknown-linux-musl)
9899
.PHONY: $(BUILD_TARGETS)

0 commit comments

Comments
 (0)