From 0bdcae97d8d9b2b3afe725f9b857a9994d3b28fa Mon Sep 17 00:00:00 2001 From: FrankHB Date: Sun, 11 Aug 2019 18:06:42 +0800 Subject: fix typos Changed all 'complie' to 'compile'. Added missing 'the' for some cases. Signed-off-by: FrankHB --- xmake/modules/core/tools/rustc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/modules/core/tools/rustc.lua') diff --git a/xmake/modules/core/tools/rustc.lua b/xmake/modules/core/tools/rustc.lua index 1bd5cf7eb..d3fbda362 100644 --- a/xmake/modules/core/tools/rustc.lua +++ b/xmake/modules/core/tools/rustc.lua @@ -99,12 +99,12 @@ function build(self, sourcefiles, targetkind, targetfile, flags) os.runv(buildargv(self, sourcefiles, targetkind, targetfile, flags)) end --- make the complie arguments list +-- make the compile arguments list function compargv(self, sourcefiles, objectfile, flags) return self:program(), table.join("--emit", "obj", flags, "-o", objectfile, sourcefiles) end --- complie the source file +-- compile the source file function compile(self, sourcefiles, objectfile, dependinfo, flags) -- ensure the object directory -- cgit v1.3.1