Skip to content

Bump chasm from 1.7.0 to 2.1.0 - #48

Merged
IRus merged 1 commit into
mainfrom
dependabot/gradle/chasm-2.1.0
Oct 5, 2026
Merged

IRus merged 1 commit into
mainfrom
dependabot/gradle/chasm-2.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 5, 2026

Copy link
Copy Markdown
Contributor

Bumps chasm from 1.7.0 to 2.1.0.
Updates io.github.charlietap.chasm:chasm-jvm from 1.7.0 to 2.1.0

Release notes

Sourced from io.github.charlietap.chasm:chasm-jvm's releases.

2.1.0

Whats Changed

Fuel metering

Stores can now opt into fuel metering which allows you to limit execution:

val store = store(StoreConfig(meterFuel = true))
addFuel(store, 100_000)

Fuel is consumed at every function entry and loop iteration. Execution traps with FuelExhausted when it runs out.

Fuel can be added, inspected and reset using addFuel, remainingFuel and resetFuel.

Unmetered stores compile no fuel checks and are unaffected.

Interrupting running calls

Stores can also be made interruptible:

val store = store(StoreConfig(interruptible = true))
interrupt(store)

interrupt is safe to call from another thread. The running call traps with Interrupted at its next function entry or loop iteration. Similar to fuel metering interruption checks are added at compile time only if the store is opted in and thus has no affect on runtimes which do not explicitly request it.

Approximate JVM CoreMark overhead was 4.6% for fuel, 4.0% for interruption and 6.7% when both were enabled.

Gradle plugin 3.1.0

Chasm 2.1.0 ships alongside version 3.1.0-2.1.0 of the Gradle plugin:

plugins {
    id("io.github.charlietap.chasm.gradle") version "3.1.0-2.1.0"
}

Chasm codegen runtime

The Gradle plugin can now generate bindings directly against Chasm’s embedding API:

codegenConfig = CodegenConfig(
    runtime = CodegenRuntime.CHASM,
)

... (truncated)

Commits
  • e1f3061 plugin: support wasi linking on chasm codegen runtime
  • 7da8684 runtime: interrupt running calls in interruptible stores (#125)
  • 2631455 runtime: meter fuel calls in metered stores (#124)
  • fbf3482 build: bump plugin development version
  • a46787d plugin: document and demonstrate codegen runtimes
  • dd8062a plugin: exercise generated chasm bindings
  • 1a4e759 plugin: validate runtime selection across target types
  • ad6d892 plugin: verify every codegen scenario against each runtime
  • ed9117f plugin: add chasm codegen runtime
  • 42ad6d7 embedding: model imports for generated bindings
  • Additional commits viewable in compare view

Updates io.github.charlietap.chasm:chasm from 1.7.0 to 2.1.0

Release notes

Sourced from io.github.charlietap.chasm:chasm's releases.

2.1.0

Whats Changed

Fuel metering

Stores can now opt into fuel metering which allows you to limit execution:

val store = store(StoreConfig(meterFuel = true))
addFuel(store, 100_000)

Fuel is consumed at every function entry and loop iteration. Execution traps with FuelExhausted when it runs out.

Fuel can be added, inspected and reset using addFuel, remainingFuel and resetFuel.

Unmetered stores compile no fuel checks and are unaffected.

Interrupting running calls

Stores can also be made interruptible:

val store = store(StoreConfig(interruptible = true))
interrupt(store)

interrupt is safe to call from another thread. The running call traps with Interrupted at its next function entry or loop iteration. Similar to fuel metering interruption checks are added at compile time only if the store is opted in and thus has no affect on runtimes which do not explicitly request it.

Approximate JVM CoreMark overhead was 4.6% for fuel, 4.0% for interruption and 6.7% when both were enabled.

Gradle plugin 3.1.0

Chasm 2.1.0 ships alongside version 3.1.0-2.1.0 of the Gradle plugin:

plugins {
    id("io.github.charlietap.chasm.gradle") version "3.1.0-2.1.0"
}

Chasm codegen runtime

The Gradle plugin can now generate bindings directly against Chasm’s embedding API:

codegenConfig = CodegenConfig(
    runtime = CodegenRuntime.CHASM,
)

... (truncated)

Commits
  • e1f3061 plugin: support wasi linking on chasm codegen runtime
  • 7da8684 runtime: interrupt running calls in interruptible stores (#125)
  • 2631455 runtime: meter fuel calls in metered stores (#124)
  • fbf3482 build: bump plugin development version
  • a46787d plugin: document and demonstrate codegen runtimes
  • dd8062a plugin: exercise generated chasm bindings
  • 1a4e759 plugin: validate runtime selection across target types
  • ad6d892 plugin: verify every codegen scenario against each runtime
  • ed9117f plugin: add chasm codegen runtime
  • 42ad6d7 embedding: model imports for generated bindings
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `chasm` from 1.7.0 to 2.1.0.

Updates `io.github.charlietap.chasm:chasm-jvm` from 1.7.0 to 2.1.0
- [Release notes](https://github.com/CharlieTap/chasm/releases)
- [Commits](CharlieTap/chasm@1.7.0...2.1.0)

Updates `io.github.charlietap.chasm:chasm` from 1.7.0 to 2.1.0
- [Release notes](https://github.com/CharlieTap/chasm/releases)
- [Commits](CharlieTap/chasm@1.7.0...2.1.0)

---
updated-dependencies:
- dependency-name: io.github.charlietap.chasm:chasm-jvm
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.github.charlietap.chasm:chasm
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@IRus
IRus merged commit e3125f9 into main Oct 5, 2026
9 of 10 checks passed
@dependabot
dependabot Bot deleted the dependabot/gradle/chasm-2.1.0 branch October 5, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant