diff options
Diffstat (limited to 'xmake/modules/detect/tool/find_rustc.lua')
| -rw-r--r-- | xmake/modules/detect/tool/find_rustc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tool/find_rustc.lua b/xmake/modules/detect/tool/find_rustc.lua index 938c6c180..d01380d72 100644 --- a/xmake/modules/detect/tool/find_rustc.lua +++ b/xmake/modules/detect/tool/find_rustc.lua @@ -44,7 +44,7 @@ function main(opt) opt = opt or {} -- find program - local program = find_program(opt.program or "rustc") + local program = find_program(opt.program or "rustc", opt.pathes, opt.check) -- find program version local version = nil |
