Skip to content

Commit

Permalink
enhance(main/yazi): Remove unnecessary patch for tikv-jemalloc-sys crate
Browse files Browse the repository at this point in the history
  • Loading branch information
Biswa96 committed Aug 15, 2024
1 parent 7dbb3e9 commit 8793e64
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
12 changes: 0 additions & 12 deletions packages/yazi/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,6 @@ TERMUX_PKG_BUILD_IN_SRC=true

termux_step_pre_configure() {
termux_setup_rust

: "${CARGO_HOME:=$HOME/.cargo}"
export CARGO_HOME

cd "$TERMUX_PKG_SRCDIR"
cargo fetch --target "${CARGO_TARGET_NAME}"

local _patch=$TERMUX_PKG_BUILDER_DIR/tikv-jemalloc-sys-0.5.3+5.3.0-patched-src-lib.rs.diff
local d
for d in "$CARGO_HOME"/registry/src/*/tikv-jemalloc-sys-*; do
patch --silent -p1 -d "${d}" < "${_patch}" || :
done
}

termux_step_make() {
Expand Down

This file was deleted.

0 comments on commit 8793e64

Please sign in to comment.