From 08d549315bb1b8c3e72145e88588d1ad1148dc3d Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Sun, 24 Sep 2023 20:23:45 +1000 Subject: [PATCH] Fix --- build.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.rs b/build.rs index ee0ce3c..ba7fea0 100644 --- a/build.rs +++ b/build.rs @@ -59,7 +59,10 @@ fn main() { let dst = Config::new(LIB_GC_DIR) .profile("Release") .define("BUILD_SHARED_LIBS", "FALSE") - .cflag(format!("-I{}", libatomic_include_path)) + .cflag(format!( + "-I{} -DPOINTER_MASK=0x7", + libatomic_include_path, foo + )) .build(); println!(