-
Notifications
You must be signed in to change notification settings - Fork 82
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 Kotlin/Native #855
base: main
Are you sure you want to change the base?
Conversation
can't wait to run my bot on an apple watch |
what's this commit? seems to be related to #836 but that is already on |
When I compiled these files were generated |
Need to buy one again for this, or ask @melike2d |
can't believe you think i have enough money for that |
the one in the build dir, sure, but the other ones? |
The use of value classes for the Reset class has already caused issues implementing #855. However, it was isolated to native platforms. Unfortunately, this behavior will become a compiler error soon, so we need to change it. This can be achieved by simply using the backing Instant instead of Reset with AtomicRef. Related Issues: #855 #69 Kotlin/kotlinx-atomicfu#291 https://youtrack.jetbrains.com/issue/KT-61584 Co-authored-by: lukellmann <[email protected]>
1f7f641
to
0724654
Compare
A workaround for the blocking teamcity bug has been implemented, snapshots are now published to |
- Migrate test-kit to use kotlinx-resources
I spent way too much time reading documentation...
# Conflicts: # .github/workflows/gradle-wrapper-validation.yml # buildSrc/src/main/kotlin/kord-internal-multiplatform-module.gradle.kts # buildSrc/src/main/kotlin/kord-module.gradle.kts # buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts # core/api/core.api # core/api/core.klib.api # core/live-tests/build.gradle.kts # core/src/commonMain/kotlin/Kord.kt # gateway/api/gateway.api # gateway/api/gateway.klib.api # gateway/src/commonMain/kotlin/Gateway.kt # gateway/src/commonMain/kotlin/Inflater.kt # gateway/src/commonMain/kotlin/Utils.kt # gradle/libs.versions.toml # voice/api/voice.api # voice/src/commonMain/kotlin/gateway/VoiceGateway.kt
@@ -63,6 +64,8 @@ class KordEventDropTest { | |||
) | |||
|
|||
@Test | |||
// This test seems to timeout sometimes on native | |||
@IgnoreOnNative |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we increase/remove the timeout as with js? #926
# Conflicts: # gradle/libs.versions.toml
# Conflicts: # .github/workflows/deployment-ci.yml # .github/workflows/docs-ci.yml # buildSrc/src/main/kotlin/kord-internal-multiplatform-module.gradle.kts # buildSrc/src/main/kotlin/kord-module.gradle.kts # buildSrc/src/main/kotlin/kord-multiplatform-module.gradle.kts # buildSrc/src/main/kotlin/kord-publishing.gradle.kts # core/src/commonMain/kotlin/Kord.kt # gateway/src/commonMain/kotlin/Gateway.kt # gateway/src/commonMain/kotlin/Utils.kt # gradle/libs.versions.toml # ksp-annotations/build.gradle.kts # voice/src/commonMain/kotlin/gateway/VoiceGateway.kt
is there any work done about this merge request, I just skimmed the blockers, KTOR-5199 was resolved in separate pull request. kordx.emoji support for native being blocker for kord-core(native) is a bit weird. Is moving to TeamCity and Qodana the main blocker for this mr? or are we just waiting for an approval? |
Currently awaiting release with that PR merged |
- Switch to official Ktor EAP builds
This is now built upon Ktor's EAP builds so updating should be a lot easier, since we no longer need to compile Ktor ourselves, we likely won't be able to merge this when Ktor 3.1.0 lands, however we will continue to provide experimental builds |
f4d70cc
to
7d65aa9
Compare
This PR aims at implementing Kotlin/Native for the following platforms:
Experimental Snapshot
There currently is an experimental snapshot on OSSRH under the
feature-native-SNAPSHOT
for you to tryAn example implementation can be found here
Please note that you need to configure the Ktor EAP repository:
Gradle Configuration
Current limitations
Checklist
Blocked by
KTOR-5199 Support WebSockets in Curl engine ktorio/ktor#3950(Merged in Update libcurl to 8.11.1 with enabled websockets ktorio/ktor#4588)Switch to TeamCity and Qodana #822(Combined into this)TW-86481(Fixed)