Add runners for macos and mingw sample executables
This commit is contained in:
parent
f1517c19fd
commit
6c00484b28
@ -121,7 +121,7 @@ kotlin {
|
||||
}
|
||||
macosX64() {
|
||||
binaries {
|
||||
framework {
|
||||
executable {
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,8 @@
|
||||
import com.ionspin.kotlin.crypto.sample.Sample
|
||||
import kotlin.time.ExperimentalTime
|
||||
|
||||
@ExperimentalTime
|
||||
|
||||
fun main() {
|
||||
Sample.runSample()
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import com.ionspin.kotlin.crypto.hash.blake2b.Blake2bDelegated
|
||||
import com.ionspin.kotlin.crypto.hash.blake2b.Blake2bStateless
|
||||
import com.ionspin.kotlin.crypto.sample.Sample
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.GlobalScope
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.runBlocking
|
||||
import platform.posix.pthread_self
|
||||
import platform.posix.sleep
|
||||
import kotlin.native.concurrent.TransferMode
|
||||
import kotlin.native.concurrent.Worker
|
||||
import kotlin.time.ExperimentalTime
|
||||
import kotlin.time.measureTime
|
||||
|
||||
@ExperimentalTime
|
||||
|
||||
fun main() {
|
||||
|
||||
Sample.runSample()
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user