Merge pull request #1248 from tritao/roslyn_csc

Default to Roslyn-based `csc` compiler on all platforms.
This commit is contained in:
Samuel Surtees 2019-02-20 00:27:13 +10:00 committed by GitHub
commit 3dbbc32a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@
}
if tool == "csc" then
local toolset = _OPTIONS.dotnet or iif(os.istarget("windows"), "msnet", "mono")
local toolset = _OPTIONS.dotnet or "msnet"
return compilers[toolset]
else
return "resgen"

View File

@ -42,7 +42,7 @@
function suite.defaultCompiler_onMacOSX()
_TARGET_OS = "macosx"
prepare()
test.isequal("mcs", dotnet.gettoolname(cfg, "csc"))
test.isequal("csc", dotnet.gettoolname(cfg, "csc"))
end