komputing / KHash

Different hash functions in Kotlin (SHA3 with Keccak and Shake variants, sha256, ripemd160)
MIT License
54 stars 10 forks source link

Add native targets #23

Closed luca992 closed 1 year ago

luca992 commented 2 years ago

I added all native targets that kassert (the only limiting dependency of KHex) supports which are:

val darwinTargets = arrayOf(
    "macosX64", "macosArm64",
    "iosArm64", "iosX64", "iosSimulatorArm64",
    "tvosArm64", "tvosX64", "tvosSimulatorArm64",
    "watchosArm32", "watchosArm64", "watchosX64", "watchosSimulatorArm64",
)
val linuxTargets = arrayOf("linuxX64", "linuxArm64")
val mingwTargets = arrayOf("mingwX64")
BierDav commented 1 year ago

Any updates on this pr?

ligi commented 1 year ago

Any updates on this pr?

yes - see the comments here: https://github.com/komputing/KHash/pull/23#discussion_r1195906581

BierDav commented 1 year ago

I have fixed the problems in a new pr: https://github.com/komputing/KHash/pull/25

Sorry i originally wanted to make a change request to this pr, but it didn't work so needed to make an additional pull request.

luca992 commented 1 year ago

Updated everything and it uses the new KHex version 👍

luca992 commented 1 year ago

is it.languageSettings.enableLanguageFeature("InlineClasses") actually needed? it causes so many warnings