Skip to content

Commit 6904830

Browse files
authored
feat(sys): upgrade mimalloc to v2.2.4 (#24)
* feat(sys): upgrade mimalloc to v2.2.4 * chore: clippy fix
1 parent 1bcee30 commit 6904830

File tree

7 files changed

+166
-111
lines changed

7 files changed

+166
-111
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ jobs:
188188
yarn build --target ${{ matrix.settings.target }} -x
189189
yarn build --target ${{ matrix.settings.target }} -x --release
190190
elif [[ "${{ matrix.settings.target }}" == *"gnu"* ]]; then
191-
export CFLAGS="-fuse-ld=lld"
192-
export CC=clang
191+
export TARGET_CFLAGS="-fuse-ld=lld"
192+
export TARGET_CC=clang
193193
yarn build --target ${{ matrix.settings.target }} --use-napi-cross
194194
yarn build --target ${{ matrix.settings.target }} --use-napi-cross --release
195195
elif [[ "${{ matrix.settings.target }}" == *"msvc"* ]]; then

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "libmimalloc-sys/c_src/mimalloc"]
22
path = libmimalloc-sys/c_src/mimalloc
3-
url = https://github.com/napi-rs/mimalloc.git
3+
url = https://github.com/microsoft/mimalloc.git

example/index.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/* auto-generated by NAPI-RS */
2+
/* eslint-disable */
3+
export declare function hello(): string

0 commit comments

Comments
 (0)