summaryrefslogtreecommitdiff
path: root/xmake/rules/mode/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/mode/xmake.lua')
-rw-r--r--xmake/rules/mode/xmake.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/rules/mode/xmake.lua b/xmake/rules/mode/xmake.lua
index 66c5e1911..d9ba61e0d 100644
--- a/xmake/rules/mode/xmake.lua
+++ b/xmake/rules/mode/xmake.lua
@@ -207,6 +207,9 @@ rule("mode.asan")
-- enable asan checker
target:set("policy", "build.sanitizer.address", true)
+
+ -- we should use "build.sanitizer.address" instead of it.
+ wprint("deprecated: please use set_policy(\"build.sanitizer.address\", true) instead of \"mode.asan\".")
end
end)