summaryrefslogtreecommitdiff
path: root/xmake/rules/mode
diff options
context:
space:
mode:
authorruki <[email protected]>2023-09-21 22:45:08 +0800
committerruki <[email protected]>2023-09-21 22:45:08 +0800
commitb607622a00a3bd4d31a6a7feb2ca1b49dd1108cf (patch)
treecf47cba6acc437dff86d006e3c99b17637804912 /xmake/rules/mode
parentefee9f525906e48699c4bf0eb10cce74d4e7b468 (diff)
mark mode.asan as deprecated
Diffstat (limited to 'xmake/rules/mode')
-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)