diff options
| -rw-r--r-- | xmake/rules/mode/xmake.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/rules/mode/xmake.lua b/xmake/rules/mode/xmake.lua index 0f81bb15f..b4312eb12 100644 --- a/xmake/rules/mode/xmake.lua +++ b/xmake/rules/mode/xmake.lua @@ -197,6 +197,10 @@ rule("mode.coverage") target:add("mxflags", "--coverage") target:add("ldflags", "--coverage") target:add("shflags", "--coverage") + + -- disable build cache, it does not support to cache coverage files + -- https://github.com/xmake-io/xmake/issues/6664 + target:set("policy", "build.ccache", false) end end) |
