mirror of
https://gitee.com/openharmony/third_party_rust_nix
synced 2024-10-06 21:23:38 +00:00
Use the correct toolchain for cargo-hack
This commit is contained in:
parent
5f5b7d4d7a
commit
a91424f614
@ -19,8 +19,8 @@ build: &BUILD
|
||||
- $TOOL +$TOOLCHAIN $BUILD $ZFLAGS --target $TARGET --all-targets
|
||||
- $TOOL +$TOOLCHAIN doc $ZFLAGS --no-deps --target $TARGET
|
||||
- $TOOL +$TOOLCHAIN clippy $ZFLAGS --target $TARGET -- -D warnings
|
||||
- if [ -z "$NOHACK" ]; then $TOOL install cargo-hack; fi
|
||||
- if [ -z "$NOHACK" ]; then $TOOL hack $ZFLAGS check --target $TARGET --each-feature; fi
|
||||
- if [ -z "$NOHACK" ]; then $TOOL +$TOOLCHAIN install cargo-hack; fi
|
||||
- if [ -z "$NOHACK" ]; then $TOOL +$TOOLCHAIN hack $ZFLAGS check --target $TARGET --each-feature; fi
|
||||
|
||||
# Tests that do require executing the binaries
|
||||
test: &TEST
|
||||
|
Loading…
Reference in New Issue
Block a user