Kaynağa Gözat

remove ntapi patch (#3584)

* use anza-xyz/ntapi instead of the labs one

* remove ntapi patch

* fix shellcheck
Yihau Chen 1 yıl önce
ebeveyn
işleme
da90cbee49
1 değiştirilmiş dosya ile 2 ekleme ve 6 silme
  1. 2 6
      scripts/cargo-install-all.sh

+ 2 - 6
scripts/cargo-install-all.sh

@@ -201,12 +201,8 @@ check_dcou() {
     # shellcheck source=scripts/spl-token-cli-version.sh
     source "$SOLANA_ROOT"/scripts/spl-token-cli-version.sh
 
-    # the patch-related configs are needed for rust 1.69+ on Windows; see Cargo.toml
-    # shellcheck disable=SC2086 # Don't want to double quote $rust_version
-    "$cargo" $maybeRustVersion \
-      --config 'patch.crates-io.ntapi.git="https://github.com/solana-labs/ntapi"' \
-      --config 'patch.crates-io.ntapi.rev="97ede981a1777883ff86d142b75024b023f04fad"' \
-      install --locked spl-token-cli --root "$installDir" $maybeSplTokenCliVersionArg
+    # shellcheck disable=SC2086
+    "$cargo" $maybeRustVersion install --locked spl-token-cli --root "$installDir" $maybeSplTokenCliVersionArg
   fi
 )