[K/N] Fixed a problem with dependencies

-Xinclude-library should be treated exactly as source files -
the final binary should depend on all of them.

 #KT-64408 Fixed
This commit is contained in:
Igor Chevdar
2023-12-27 09:58:25 +02:00
committed by Space Team
parent c35e026259
commit 519c15419f
5 changed files with 1 additions and 9 deletions
@@ -2,8 +2,6 @@
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
// KT-64408: when undisabled (by removing next line), the compiled .kexe wrongly contains no tests
// DISABLE_NATIVE: cacheMode=STATIC_PER_FILE_EVERYWHERE
// FILE: lib.kt
var z1 = false
@@ -2,8 +2,6 @@
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
// KT-64408: when undisabled (by removing next line), the compiled .kexe wrongly contains no tests
// DISABLE_NATIVE: cacheMode=STATIC_PER_FILE_EVERYWHERE
// FILE: lib.kt
var z1 = false
@@ -2,8 +2,6 @@
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
// KT-64408: when undisabled (by removing next line), the compiled .kexe wrongly contains no tests
// DISABLE_NATIVE: cacheMode=STATIC_PER_FILE_EVERYWHERE
// FILE: lib.kt
@ThreadLocal
@@ -2,8 +2,6 @@
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
// KT-64408: when undisabled (by removing next line), the compiled .kexe wrongly contains no tests
// DISABLE_NATIVE: cacheMode=STATIC_PER_FILE_EVERYWHERE
// FILE: lib.kt
@ThreadLocal