mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-16 17:08:27 +01:00
d7d63eddbe
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. Link: https://github.com/cross-rs/cross/wiki/Configuration
6 lines
218 B
TOML
6 lines
218 B
TOML
# https://github.com/sharkdp/fd/issues/1085
|
|
[target.aarch64-unknown-linux-gnu.env]
|
|
passthrough = ["JEMALLOC_SYS_WITH_LG_PAGE=16"]
|
|
|
|
[target.aarch64-unknown-linux-musl.env]
|
|
passthrough = ["JEMALLOC_SYS_WITH_LG_PAGE=16"]
|