diff options
| author | ruki <[email protected]> | 2025-08-02 19:29:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-08-02 19:29:30 +0800 |
| commit | 5303f092560acbeaebe785b2854da85a7319303a (patch) | |
| tree | cc5924a9288f082f5382968d2ff5c17f54b5899e /xmake/modules | |
| parent | 2e514eefd117714d99642e76ed0cedc2ea65c0a2 (diff) | |
add comments
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/action/build/target.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/private/action/build/target.lua b/xmake/modules/private/action/build/target.lua index 540e7ec5f..bd5730e1c 100644 --- a/xmake/modules/private/action/build/target.lua +++ b/xmake/modules/private/action/build/target.lua @@ -238,6 +238,8 @@ function add_targetjobs_with_stage(jobgraph, target, stage, opt) table.insert(instances, ruleinst) end end + -- on_config is different from on_build/on_prepare, + -- it does not rewrite all rules, and target.on_config needs to be called last. if job_kind == "config" then instances = table.slice(instances, 2) table.insert(instances, target) |
