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

Remove -opt flag from a debug build #4107

Closed
wants to merge 1 commit into from
Closed

Conversation

anton-bannykh
Copy link

Simultaneous use of -g and -opt flags is not a good idea and is being prohibited.

@anton-bannykh anton-bannykh changed the base branch from master to kotlin-community/dev April 18, 2024 12:13
@anton-bannykh
Copy link
Author

Corresponding MR on Kotlin/Native side: https://jetbrains.team/p/kt/reviews/15402/timeline

binaries.getTest(DEBUG).apply {
optimized = true
}

binaries.test("workerTest", listOf(DEBUG)) {
val thisTest = this
optimized = true
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this also be removed?

@qwwdfsad
Copy link
Member

qwwdfsad commented May 1, 2024

Note that PR should target develop branch

@anton-bannykh
Copy link
Author

Hi! We've decided to make the -opt -g combination a warning first. So I will be retracting this PR and coming back later.

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.

None yet

3 participants