From 1aa613efe7a52c6a2e53a3ee9b3da40b73fb55b3 Mon Sep 17 00:00:00 2001 From: peterxcli Date: Sat, 25 Jul 2026 16:01:54 +0800 Subject: [PATCH] fix: pin patched hdfs-sys for safe thread cleanup --- native/Cargo.lock | 3 +-- native/Cargo.toml | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/native/Cargo.lock b/native/Cargo.lock index 8194fdd70ab..25b09a9940c 100644 --- a/native/Cargo.lock +++ b/native/Cargo.lock @@ -3275,8 +3275,7 @@ dependencies = [ [[package]] name = "hdfs-sys" version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33e2d5cefba2d51a26b44d2a493f963a32725a0f6593c91be4a610ad449c49cb" +source = "git+https://github.com/peterxcli/hdfs-sys?rev=0615a3948307757c8a75f1ca6a318df7ddaa17fd#0615a3948307757c8a75f1ca6a318df7ddaa17fd" dependencies = [ "cc", "java-locator", diff --git a/native/Cargo.toml b/native/Cargo.toml index fd7d7d3a661..6cd16b55180 100644 --- a/native/Cargo.toml +++ b/native/Cargo.toml @@ -78,3 +78,6 @@ codegen-units = 16 # Parallel codegen (faster compile, slightly larger binary) debug-assertions = true panic = "unwind" # Allow panics to be caught and logged across FFI boundary # overflow-checks inherited as false from release + +[patch.crates-io] +hdfs-sys = { git = "https://github.com/peterxcli/hdfs-sys", rev = "0615a3948307757c8a75f1ca6a318df7ddaa17fd" }