From acc284029a0c4e2da86ced48f8e307bf195373ff Mon Sep 17 00:00:00 2001 From: Ben Lee Date: Tue, 23 May 2023 17:06:00 -0700 Subject: [PATCH] Regenerate the docs (#980) --- docs/kotlin.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/kotlin.md b/docs/kotlin.md index a591692e3..370379e3e 100755 --- a/docs/kotlin.md +++ b/docs/kotlin.md @@ -393,12 +393,12 @@ kt_javac_options(name, name, include_stdlibs, java_parameters, jvm_target, warn, - x_allow_result_return_type, x_backend_threads, x_debug, - x_emit_jvm_type_annotations, x_explicit_api_mode, x_inline_classes, x_jvm_default, - x_lambdas, x_multi_platform, x_no_call_assertions, x_no_optimize, + x_allow_result_return_type, x_backend_threads, x_emit_jvm_type_annotations, + x_enable_incremental_compilation, x_explicit_api_mode, x_inline_classes, + x_jvm_default, x_lambdas, x_multi_platform, x_no_call_assertions, x_no_optimize, x_no_optimized_callable_references, x_no_param_assertions, x_no_receiver_assertions, x_optin, x_report_perf, x_sam_conversions, - x_skip_prerelease_check, x_use_k2) + x_skip_prerelease_check, x_use_fir_lt, x_use_k2) Define kotlin compiler options. @@ -416,8 +416,8 @@ kt_kotlinc_options(name, warn | Control warning behaviour. | String | optional | "report" | |x_allow_result_return_type | Enable kotlin.Result as a return type | Boolean | optional | False | |x_backend_threads | When using the IR backend, run lowerings by file in N parallel threads. 0 means use a thread per processor core. Default value is 1. | Integer | optional | 1 | -|x_debug | Enable debugging, this option allows for a better debugging experience, especially when using coroutines, but should not be used in production | Boolean | optional | False | |x_emit_jvm_type_annotations | Basic support for type annotations in JVM bytecode. | Boolean | optional | False | +|x_enable_incremental_compilation | Enable incremental compilation | Boolean | optional | False | |x_explicit_api_mode | Enable explicit API mode for Kotlin libraries. | String | optional | "off" | |x_inline_classes | Enable experimental inline classes | Boolean | optional | False | |x_jvm_default | Specifies that a JVM default method should be generated for non-abstract Kotlin interface member. | String | optional | "off" | @@ -432,6 +432,7 @@ kt_kotlinc_options(name, x_report_perf | Report detailed performance statistics | Boolean | optional | False | |x_sam_conversions | Change codegen behavior of SAM/functional interfaces | String | optional | "class" | |x_skip_prerelease_check | Suppress errors thrown when using pre-release classes. | Boolean | optional | False | +|x_use_fir_lt | Compile using LightTree parser with Front-end IR. Warning: this feature is far from being production-ready | Boolean | optional | False | |x_use_k2 | Compile using experimental K2. K2 is a new compiler pipeline, no compatibility guarantees are yet provided | Boolean | optional | False | @@ -529,7 +530,7 @@ This macro registers the kotlin toolchain.
 kotlin_repositories(compiler_repository_name, ksp_repository_name, compiler_release,
-                    ksp_compiler_release, configured_repository_name)
+                    ksp_compiler_release)
 
Call this in the WORKSPACE file to setup the Kotlin rules. @@ -543,7 +544,6 @@ Call this in the WORKSPACE file to setup the Kotlin rules. | ksp_repository_name |

-

| "com_github_google_ksp" | | compiler_release | version provider from versions.bzl. | struct() | | ksp_compiler_release | (internal) version provider from versions.bzl. | struct() | -| configured_repository_name | for the default versioned kt_* rules repository. If None, no versioned repository is created. | "io_bazel_rules_kotlin_configured" |