diff --git a/packages/oxlint/build.sh b/packages/oxlint/build.sh index d6c031d4dbb..55056f3d4e8 100644 --- a/packages/oxlint/build.sh +++ b/packages/oxlint/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://oxc.rs/ TERMUX_PKG_DESCRIPTION="Oxc JavaScript linter" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.36.0" +TERMUX_PKG_VERSION="1.37.0" TERMUX_PKG_SRCURL="https://github.com/oxc-project/oxc/archive/refs/tags/oxlint_v$TERMUX_PKG_VERSION.tar.gz" -TERMUX_PKG_SHA256=d8a91718bf8f1f1a01d5ef14a3141f7282453085641afa1bdf53b8ee8cd20ec4 +TERMUX_PKG_SHA256=4e1f8858ac15faef0177ff722bf70ee9b1550a97a30d5b4bef38bcec1396f802 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_BUILD_IN_SRC=true @@ -70,5 +70,4 @@ termux_step_make() { termux_step_make_install() { install -Dm700 -t "$TERMUX_PREFIX/bin" "target/$CARGO_TARGET_NAME/release/oxlint" install -Dm700 -t "$TERMUX_PREFIX/bin" "target/$CARGO_TARGET_NAME/release/oxfmt" - install -Dm700 -t "$TERMUX_PREFIX/bin" "target/$CARGO_TARGET_NAME/release/oxc_language_server" } diff --git a/packages/oxlint/disable-allocator.patch b/packages/oxlint/disable-allocator.patch deleted file mode 100644 index 73e34cbe4b3..00000000000 --- a/packages/oxlint/disable-allocator.patch +++ /dev/null @@ -1,43 +0,0 @@ -Sourced from https://github.com/oxc-project/oxc/pull/17473 - -commit b781e5aeefac0afe77460861ab70c4cec562c1ee -Author: Yaksh Bariya -Date: Tue Dec 30 08:12:44 2025 +0530 - - fix(oxfmt,oxlint): builds for arm - - This makes the condition for enabling mimalloc the same across the - entire codebase. The condition for enabling mimalloc dependency was the - same across all the projects, but wasn't the same when actually enabling - it. - -diff --git a/apps/oxfmt/src/lib.rs b/apps/oxfmt/src/lib.rs -index 733c392a6..238a06054 100644 ---- a/apps/oxfmt/src/lib.rs -+++ b/apps/oxfmt/src/lib.rs -@@ -9,6 +9,9 @@ pub mod stdin; - #[cfg(feature = "napi")] - pub use main_napi::*; - --#[cfg(all(feature = "allocator", not(miri), not(target_family = "wasm")))] -+#[cfg(all( -+ feature = "allocator", -+ not(any(target_arch = "arm", miri, target_os = "freebsd", target_family = "wasm")) -+))] - #[global_allocator] - static GLOBAL: mimalloc_safe::MiMalloc = mimalloc_safe::MiMalloc; -diff --git a/apps/oxlint/src/lib.rs b/apps/oxlint/src/lib.rs -index 4d890e30f..2c4744b69 100644 ---- a/apps/oxlint/src/lib.rs -+++ b/apps/oxlint/src/lib.rs -@@ -38,6 +38,9 @@ mod js_plugins; - // Use Mimalloc as the global allocator if `--features allocator` is enabled. - // Mimalloc has better performance, but this is feature-gated because it's slow to compile. - // `--features allocator` is only used in release builds. --#[cfg(all(feature = "allocator", not(miri), not(target_family = "wasm")))] -+#[cfg(all( -+ feature = "allocator", -+ not(any(target_arch = "arm", miri, target_os = "freebsd", target_family = "wasm")) -+))] - #[global_allocator] - static GLOBAL: mimalloc_safe::MiMalloc = mimalloc_safe::MiMalloc; diff --git a/packages/oxlint/oxc-language-server.subpackage.sh b/packages/oxlint/oxc-language-server.subpackage.sh deleted file mode 100644 index 9cfd02fed80..00000000000 --- a/packages/oxlint/oxc-language-server.subpackage.sh +++ /dev/null @@ -1,3 +0,0 @@ -TERMUX_SUBPKG_DESCRIPTION="Oxc JavaScript linter language server" -TERMUX_SUBPKG_INCLUDE="bin/oxc_language_server" -TERMUX_SUBPKG_DEPEND_ON_PARENT=false