Skip to content
Myr

Fix #1085 for real

Before adoption: this commit came in with the history the project adopted, so no landing records it.

cross doesn't pass all environment variables through into the build container, so JEMALLOC_SYS_WITH_LG_PAGE=16 wasn't being picked up from the host. Instead, set it explicitly in Cross.toml.

authored by Tavian Barnes · committed by Tavian Barnes · parent 8acd772 · Browse files · 2 files+7 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Link: https://github.com/cross-rs/cross/wiki/Configuration

Diff stats

2 files+7 added−5 removed

  • other:+7 added−5 removed

2 files+7 added−5 removed

modified:.github/workflows/CICD.yml+1 added-5 removed
132 unmodified lines
133 rustc -V134135 - name: Build136 shell: bash137 run: |138 case ${{ matrix.job.target }} in139 aarch64-*) export JEMALLOC_SYS_WITH_LG_PAGE=16 ;;140 esac;141 $BUILD_CMD build --locked --release --target=${{ matrix.job.target }}137 run: $BUILD_CMD build --locked --release --target=${{ matrix.job.target }}138139 - name: Set binary name & path140 id: bin141 shell: bash
222 unmodified lines
added:Cross.toml+6 added