From 5f41a2b8e293895f59371b0545a266088681c7c8 Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Sun, 24 Sep 2023 16:56:08 +1000 Subject: [PATCH] Set pointer mask --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 2cbf54e..ee0ce3c 100644 --- a/build.rs +++ b/build.rs @@ -23,7 +23,7 @@ fn main() { let dst = autotools::Config::new(LIB_GC_DIR) .cflag(format!( - "-I{} -L/lib/x86_64-linux-gnu -lpthread -fPIC", + "-I{} -L/lib/x86_64-linux-gnu -lpthread -fPIC -D POINTER_MASK=0x7", dst.join("include").display() )) .build();