Commit 2d573ed
committed
fix: patch libmimalloc-sys to use upstream fix for cross-compilation
Use git version of libmimalloc-sys from master branch which includes
the fix for -Wdate-time cross-compilation issue (PR #139).
The upstream fix adds -Wno-error=date-time flag to the build script
for non-Windows targets, which resolves the compilation error when
cross-compiling to ARM architectures (aarch64, armv7).
This allows us to:
- Use mimalloc on all architectures (not just x86_64)
- Remove conditional compilation workarounds
- Get the performance benefits of mimalloc everywhere
Reference: purpleprotocol/mimalloc_rust#1391 parent 274f535 commit 2d573ed
3 files changed
Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
100 | 104 | | |
101 | 105 | | |
102 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | | - | |
6 | 3 | | |
7 | 4 | | |
8 | 5 | | |
| |||
0 commit comments