Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support advanced compiler options in kt_kotlinc_options #688

Closed
brettwooldridge opened this issue Feb 25, 2022 · 1 comment
Closed

Support advanced compiler options in kt_kotlinc_options #688

brettwooldridge opened this issue Feb 25, 2022 · 1 comment
Assignees

Comments

@brettwooldridge
Copy link
Contributor

The kotlin compiler contains many advanced options, some of them having a large impact on runtime performance of the code. The following options are critical to our project (snippets form the Kotlin compiler):

@Argument(
    value = "-Xno-param-assertions",
   description = "Don't generate not-null assertions on parameters of methods accessible from Java"
)

@Argument(
   value = "-Xno-call-assertions",
   description = "Don't generate not-null assertions for arguments of platform types"
)

@Argument(
   value = "-Xno-receiver-assertions",
   description = "Don't generate not-null assertion for extension receiver arguments of platform types"
)
@brettwooldridge brettwooldridge changed the title Support advanced compiler options to kt_kotlinc_options Support advanced compiler options in kt_kotlinc_options Feb 25, 2022
@restingbull restingbull self-assigned this Mar 4, 2022
@restingbull
Copy link
Collaborator

#676 covers -Xopt-in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants