mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Restore -no-stdlib.
This commit is contained in:
parent
64bfcbf12a
commit
f672e6b7bb
1 changed files with 2 additions and 3 deletions
|
@ -47,9 +47,8 @@ class KotlinPlugin @Inject constructor(val executors: KobaltExecutors)
|
|||
// ICompilerFlagsContributor
|
||||
override fun flagsFor(project: Project, context: KobaltContext, currentFlags: List<String>,
|
||||
suffixesBeingCompiled: List<String>) : List<String> {
|
||||
val result = maybeCompilerArgs(compiler.sourceSuffixes, suffixesBeingCompiled,
|
||||
configurationFor(project)?.compilerArgs ?: listOf<String>())
|
||||
return result
|
||||
val args = (configurationFor(project)?.compilerArgs ?: listOf<String>()) + "-no-stdlib"
|
||||
return maybeCompilerArgs(compiler.sourceSuffixes, suffixesBeingCompiled, args)
|
||||
}
|
||||
|
||||
// override fun generateDoc(project: Project, context: KobaltContext, info: CompilerActionInfo) : TaskResult {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue