|
|
|
|
@ -220,6 +220,14 @@ fn main() {
|
|
|
|
|
if let Some((version, _, _)) = rustc::triple() {
|
|
|
|
|
println!("cargo:rustc-env=DFT_RUSTC_VERSION={}", version);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Use 64-KiB pages with jemalloc. This solves "<jemalloc>:
|
|
|
|
|
// Unsupported system page size" errors, and performs the same as
|
|
|
|
|
// jemalloc's default settings.
|
|
|
|
|
//
|
|
|
|
|
// Note that difftastic does not use jemalloc on all operating
|
|
|
|
|
// systems, but it's harmless to set this unconditionally.
|
|
|
|
|
println!("cargo:rustc-env=JEMALLOC_SYS_WITH_LG_PAGE=16");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
fn commit_info() {
|
|
|
|
|
|