File tree Expand file tree Collapse file tree 6 files changed +10
-12
lines changed
build-logic/project/lint/src/main/kotlin
sqlite-embedder-chasm/src/commonMain/kotlin/host Expand file tree Collapse file tree 6 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 99/captures
1010.externalNativeBuild
1111.cxx
12+ .konan
1213local.properties
Original file line number Diff line number Diff line change @@ -36,14 +36,14 @@ spotless {
3636
3737 trimTrailingWhitespace()
3838 endWithNewline()
39- indentWithSpaces (2 )
39+ leadingTabsToSpaces (2 )
4040 }
4141 format(" toml" ) {
4242 target(rootDir.filter { it.name.endsWith(" .toml" ) })
4343
4444 trimTrailingWhitespace()
4545 endWithNewline()
46- indentWithSpaces (2 )
46+ leadingTabsToSpaces (2 )
4747 }
4848 format(" markdown" ) {
4949 target(rootDir.filter { it.name.endsWith(" .md" ) || it.name.endsWith(" .markdown" ) })
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ androidx-room26 = "2.6.1"
1212androidx-test = " 1.6.2"
1313androidx-test-core = " 1.6.1"
1414androidx-test-rules = " 1.6.1"
15- atomicfu = " 0.26.1 "
15+ atomicfu = " 0.27.0 "
1616arrow = " 2.0.0"
1717assertk = " 0.28.1"
18- chasm = " 0.9.4 "
18+ chasm = " 0.9.42 "
1919chicory = " 1.0.0"
2020desugar_jdk_libs = " 2.1.4"
2121detekt = " 1.23.7"
@@ -30,7 +30,7 @@ kotlinx-datetime = "0.6.1"
3030kotlinx-io =" 0.6.0"
3131kermit = " 2.0.5"
3232ksp = " 2.1.0-1.0.29"
33- mockk = " 1.13.14 "
33+ mockk = " 1.13.16 "
3434spotless = " 7.0.0"
3535sqlite-wasm-binary = " 0.3"
3636wasi-emscripten-host = " 0.2"
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-8.12-bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.12.1 -bin.zip
44networkTimeout =10000
55validateDistributionUrl =true
66zipStoreBase =GRADLE_USER_HOME
Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ buildscript {
1515 dependencies {
1616 classpath(" androidx.room:androidx.room.gradle.plugin:2.7.0-alpha12" )
1717 classpath(" com.android.tools.build:gradle:8.7.3" )
18- classpath(" com.diffplug.spotless:spotless-plugin-gradle:7.0.0.BETA4 " )
18+ classpath(" com.diffplug.spotless:spotless-plugin-gradle:7.0.0" )
1919 classpath(" com.google.devtools.ksp:symbol-processing-gradle-plugin:2.1.0-1.0.29" )
2020 classpath(" com.saveourtool.diktat:diktat-gradle-plugin:2.0.0" )
2121 classpath(" io.gitlab.arturbosch.detekt:detekt-formatting:1.23.7" )
2222 classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0" )
23- classpath(" org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.26.1 " )
23+ classpath(" org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.27.0 " )
2424 }
2525}
2626
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import at.released.weh.host.EmbedderHost
1212import at.released.weh.wasm.core.WasmModules.ENV_MODULE_NAME
1313import at.released.weh.wasm.core.memory.WASM_MEMORY_DEFAULT_MAX_PAGES
1414import at.released.weh.wasm.core.memory.WASM_MEMORY_PAGE_SIZE
15- import com.github.michaelbull.result.getOrThrow
1615import io.github.charlietap.chasm.ast.type.Limits
1716import io.github.charlietap.chasm.ast.type.SharedStatus.Unshared
1817import io.github.charlietap.chasm.embedding.error.ChasmError.DecodeError
@@ -129,9 +128,7 @@ internal class ChasmInstanceBuilder(
129128 callbackHostFunctions : List <ChasmImport >,
130129 ): SqliteCallbackFunctionIndexes {
131130 val tableAddress: Table = instance.instance.tableAddresses[0 ]
132- val table: TableInstance = store.store.table(tableAddress).getOrThrow {
133- ChasmException (" Can not get table $tableAddress " )
134- }
131+ val table: TableInstance = store.store.table(tableAddress)
135132 val oldSize = table.elements.size
136133 table.grow(
137134 callbackHostFunctions.size,
You can’t perform that action at this time.
0 commit comments