Skip to content

Commit e23941c

Browse files
authored
chore(releasing): Use large pages for better OS compatibility (vectordotdev#18481)
* chore(releasing): Try large pages for better OS compatibility Signed-off-by: Jesse Szwedko <[email protected]> * Turns out the `env` block in Cargo.toml is unstable Signed-off-by: Jesse Szwedko <[email protected]> * Move env config to .cargo/config.toml Signed-off-by: Jesse Szwedko <[email protected]> --------- Signed-off-by: Jesse Szwedko <[email protected]>
1 parent 1ac19dd commit e23941c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.cargo/config.toml

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
[alias]
22
vdev = "run --quiet --package vdev --"
33

4+
[env]
5+
# Build with large pages so that Vector runs on systems with 64k pages or less (e.g. 4k) to support
6+
# CentOS 7, 8, and a few other Linux distributions.
7+
JEMALLOC_SYS_WITH_LG_PAGE = "16"
8+
49
[target.'cfg(all())']
510
rustflags = [
611
"-Dclippy::print_stdout",

0 commit comments

Comments
 (0)