Skip to content

Conversation

dkrasnoff
Copy link
Collaborator

No description provided.

@dkrasnoff dkrasnoff requested a review from zoobestik September 11, 2025 09:21
KotlinTranslatableCompiler.JS -> kotlinProjectExecutor.convertToJsIr(project)
KotlinTranslatableCompiler.WASM -> kotlinProjectExecutor.convertToWasm(project, debugInfo)
KotlinTranslatableCompiler.COMPOSE_WASM -> kotlinProjectExecutor.convertToWasm(project, debugInfo)
class CompilerRestController(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zoobestik please, check the contract of this controller. If it suits you.

@dkrasnoff dkrasnoff force-pushed the dkrasnov/KTL-724-provide-the-opportunity-to-pass-kotlin-compiler-arguments branch 2 times, most recently from 26d34af to 5809835 Compare September 11, 2025 10:23
@dkrasnoff dkrasnoff force-pushed the kotlin-community/dev branch from 8fd7307 to 4f2f724 Compare October 1, 2025 10:20
We are using `kotlin-compiler-arguments-description` maven dependency for extracting all known compiler arguments for the current kotlin version.
We've added an endpoint for getting all known compiler dependencies by the given platform.
We've extended `run` and `translate` endpoints with the user's compiler args.
@dkrasnoff dkrasnoff force-pushed the dkrasnov/KTL-724-provide-the-opportunity-to-pass-kotlin-compiler-arguments branch from 5809835 to 4dd02f7 Compare October 1, 2025 12:44
"Xklib-ir-inliner"
)

private val ALLOWED_JS_ARGUMENTS = setOf(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ilgonmic could you please check the white list for wasm and js arguments: ALLOWED_JS_ARGUMENTS, ALLOWED_WASM_ARGUMENTS?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @JSMonk

@dkrasnoff dkrasnoff requested a review from ilgonmic October 6, 2025 11:25
"Xklib-ir-inliner"
)

private val ALLOWED_JS_ARGUMENTS = setOf(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @JSMonk

"Xoptimize-generated-js"
)

private val ALLOWED_WASM_ARGUMENTS = setOf(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @bashor

@dkrasnoff dkrasnoff force-pushed the dkrasnov/KTL-724-provide-the-opportunity-to-pass-kotlin-compiler-arguments branch from 63639d6 to bf4129f Compare October 14, 2025 09:24
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

Successfully merging this pull request may close these issues.

4 participants