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