Skip to content

Commit b53194f

Browse files
authored
Merge pull request #679 from hatoo/asahi
Fix #675
2 parents 5aaaca3 + 9abbcf0 commit b53194f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,7 @@ jobs:
6969
run: echo "BUILD_CMD=cross" >> $GITHUB_ENV
7070
- name: Build
7171
shell: bash
72-
run: |
73-
case ${{ matrix.target }} in
74-
aarch64-*) export JEMALLOC_SYS_WITH_LG_PAGE=16 ;;
75-
esac;
76-
$BUILD_CMD build --profile release-ci --target ${{ matrix.target }} --locked --no-default-features --features rustls ${{ matrix.additional_args }}
72+
run: $BUILD_CMD build --profile release-ci --target ${{ matrix.target }} --locked --no-default-features --features rustls ${{ matrix.additional_args }}
7773
- name: Upload
7874
uses: actions/upload-artifact@v4
7975
with:

Cross.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# For Asahi linux
2+
[target.aarch64-unknown-linux-gnu.env]
3+
passthrough = ["JEMALLOC_SYS_WITH_LG_PAGE=16"]
4+
5+
[target.aarch64-unknown-linux-musl.env]
6+
passthrough = ["JEMALLOC_SYS_WITH_LG_PAGE=16"]

0 commit comments

Comments
 (0)