Fix KT-44295

builtins "header" is included in both builtin and posix platform libraries, but only posix has declarations for builtin structs (e.g. __va_list_tag). Library resolver by default has no guarantee on order of resolved libraries which causes KT-44295.
To make results of `KotlinLibraryResolver` stable we pass TopologicalLibraryOrder to `getFullList` and specify a dependency of builtin on posix
This commit is contained in:
Sergey Bogolepov
2021-02-10 13:42:51 +07:00
committed by Vasily Levchenko
parent 0ecd76c3cb
commit f6f050ff68
4 changed files with 5 additions and 1 deletions
@@ -1,3 +1,4 @@
depends = posix
package = platform.builtin
headerFilter =
language = C
@@ -1,3 +1,4 @@
depends = posix
package = platform.builtin
headerFilter =
language = C
@@ -1,3 +1,4 @@
depends = posix
package = platform.builtin
headerFilter =
language = C