You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CompileAvoidance.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,13 +54,30 @@ define_kt_toolchain(
54
54
)
55
55
```
56
56
57
+
In order to completely remove debug information from the ABI jar, the `experimental_remove_debug_info_in_abi_jars` flag can be used along with `experimental_use_abi_jars`
58
+
59
+
```python
60
+
load("//kotlin:core.bzl", "define_kt_toolchain")
61
+
62
+
63
+
define_kt_toolchain(
64
+
name="kotlin_toolchain",
65
+
experimental_use_abi_jars=True,
66
+
experimental_remove_debug_info_in_abi_jars=True,
67
+
)
68
+
```
69
+
57
70
If you encounter bugs in older compiler versions such as [KT-71525](https://youtrack.jetbrains.com/issue/KT-71525) then ABI generation with only public symbols can be disabled on a per target basis by setting the following tags
0 commit comments