mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Configure jemalloc for cross-compilation to aarch64-apple-darwin
This commit is contained in:
parent
5ae5b0e790
commit
eb0c996ee2
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -315,6 +315,7 @@ jobs:
|
||||
NO_LLVM_ASSERTIONS: 1
|
||||
NO_DEBUG_ASSERTIONS: 1
|
||||
DIST_REQUIRE_ALL_TOOLS: 1
|
||||
JEMALLOC_SYS_WITH_LG_PAGE: 14
|
||||
os: macos-latest
|
||||
- name: x86_64-msvc-1
|
||||
env:
|
||||
|
@ -482,6 +482,14 @@ jobs:
|
||||
NO_LLVM_ASSERTIONS: 1
|
||||
NO_DEBUG_ASSERTIONS: 1
|
||||
DIST_REQUIRE_ALL_TOOLS: 1
|
||||
# Corresponds to 16K page size
|
||||
#
|
||||
# Shouldn't be needed if jemalloc-sys is updated to
|
||||
# handle this platform like iOS or if we build on
|
||||
# aarch64-apple-darwin itself.
|
||||
#
|
||||
# https://github.com/gnzlbg/jemallocator/blob/c27a859e98e3cb790dc269773d9da71a1e918458/jemalloc-sys/build.rs#L237
|
||||
JEMALLOC_SYS_WITH_LG_PAGE: 14
|
||||
<<: *job-macos-xl
|
||||
|
||||
######################
|
||||
|
Loading…
Reference in New Issue
Block a user