C#: Lua tracing config: Use API function.

This commit is contained in:
Cornelius Riemenschneider
2022-05-10 14:38:53 +00:00
committed by GitHub
parent 40503aa368
commit 7c10f3e76b

View File

@@ -1,4 +1,4 @@
function RegisterExtractorPack() function RegisterExtractorPack(id)
local extractor = GetPlatformToolsDirectory() .. local extractor = GetPlatformToolsDirectory() ..
'Semmle.Extraction.CSharp.Driver' 'Semmle.Extraction.CSharp.Driver'
if OperatingSystem == 'windows' then extractor = extractor .. '.exe' end if OperatingSystem == 'windows' then extractor = extractor .. '.exe' end
@@ -26,14 +26,10 @@ function RegisterExtractorPack()
return { return {
replace = true, replace = true,
invocations = { invocations = {
{ BuildExtractorInvocation(id, compilerPath, compilerPath,
path = compilerPath, compilerArguments, nil, {
transformedArguments = { '/p:UseSharedCompilation=false'
nativeArgumentPointer = compilerArguments['nativeArgumentPointer'], })
append = {'/p:UseSharedCompilation=false'},
prepend = {}
}
}
} }
} }
end end