mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-07 00:21:28 +00:00
This reverts commit 4a5e9bb
(cherry picked from commit 7863b7741ebf713e5388852b6ad49c72e63a2b7e)
27 lines
2.0 KiB
Plaintext
Vendored
27 lines
2.0 KiB
Plaintext
Vendored
Usage: kotlinc-js <options> <source files>
|
|
where advanced options include:
|
|
-Xfriend-modules=<path> Paths to friend modules
|
|
-Xfriend-modules-disabled Disable internal declaration export
|
|
-Xtyped-arrays Translate primitive arrays to JS typed arrays
|
|
-Xallow-kotlin-package Allow compiling code in package 'kotlin' and allow not requiring kotlin.stdlib in module-info
|
|
-Xcoroutines={enable|warn|error}
|
|
Enable coroutines or report warnings or errors on declarations and use sites of 'suspend' modifier
|
|
-Xeffect-system Enable experimental language feature: effect system
|
|
-Xexperimental=<fq.name> Enable and propagate usages of experimental API for marker annotation with the given fully qualified name
|
|
-Xintellij-plugin-root=<path> Path to the kotlin-compiler.jar or directory where IntelliJ configuration files can be found
|
|
-Xlegacy-smart-cast-after-try Allow var smart casts despite assignment in try block
|
|
-Xmulti-platform Enable experimental language support for multi-platform projects
|
|
-Xnew-inference Enable new experimental generic type inference algorithm
|
|
-Xno-check-actual Do not check presence of 'actual' modifier in multi-platform projects
|
|
-Xno-inline Disable method inlining
|
|
-Xplugin=<path> Load plugins from the given classpath
|
|
-Xproper-ieee754-comparisons Generate proper IEEE 754 comparisons in all cases if values are statically known to be of primitive numeric types
|
|
-Xread-deserialized-contracts Enable reading of contracts from metadata
|
|
-Xrepeat=<count> Repeat compilation (for performance analysis)
|
|
-Xreport-output-files Report source to output files mapping
|
|
-Xskip-metadata-version-check Load classes with bad metadata version anyway (incl. pre-release classes)
|
|
-Xuse-experimental=<fq.name> Enable usages of COMPILATION-affecting experimental API for marker annotation with the given fully qualified name
|
|
|
|
Advanced options are non-standard and may be changed or removed without any notice.
|
|
OK
|