From b347b44bd78539de3f3bcba988a795d0f5b3075b Mon Sep 17 00:00:00 2001 From: Chi Huu Huynh <73843190+Chi-EEE@users.noreply.github.com> Date: Wed, 10 Apr 2024 13:19:47 +0100 Subject: [PATCH] try use policy --- app/rpi/xmake.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/rpi/xmake.lua b/app/rpi/xmake.lua index cd2464fa..2ee53545 100644 --- a/app/rpi/xmake.lua +++ b/app/rpi/xmake.lua @@ -1,3 +1,8 @@ +set_policy("build.sanitizer.thread", true) +set_policy("build.sanitizer.memory", true) +set_policy("build.sanitizer.leak", true) +set_policy("build.sanitizer.undefined", true) + add_repositories("local-repo repository") includes("common/xmake.lua", "tui/xmake.lua", "behaviour_tree/xmake.lua")