Skip to content

feat:(kffi): externalize the binding runtime - #131

Merged
ygdrasil-io merged 211 commits into
wgpu4k:mainfrom
ygdrasil-io:feat/kffi-socle-generique
Aug 20, 2026
Merged

ygdrasil-io merged 211 commits into
wgpu4k:mainfrom
ygdrasil-io:feat/kffi-socle-generique

Conversation

@ygdrasil-io

Copy link
Copy Markdown
Contributor

Purpose

This PR completes the kffi externalization in wgpu4k-native. The project now consumes the published org.graphiks:kffi artifacts and keeps only the generated WebGPU bindings and wgpu4k-native-specific code. The former embedded kffi sources, intermediate consumers, stale documentation, and publication checks are removed so the repository no longer behaves as if kffi were an internal subproject.

The bindings are refreshed against the current kextract/kffi API, desktop JVM consumers are aligned with the Java 25 bytecode emitted by kffi, and platform pointer conversions are updated for Linux and Windows. CI uses the committed bindings and retains checks covering JVM, Native, Android, and iOS-facing code paths without regenerating bindings on every run.

The intended result is a smaller and clearer wgpu4k-native repository whose public build depends on the published kffi contract while preserving the supported platform behavior.

Align JVM bytecode target for JMH Java/Kotlin compile tasks so
compileJmhKotlin passes with the JVM_24 convention.
@ygdrasil-io
ygdrasil-io marked this pull request as ready for review August 20, 2026 14:53
@ygdrasil-io
ygdrasil-io merged commit 1263d9c into wgpu4k:main Aug 20, 2026
4 checks passed
@ygdrasil-io
ygdrasil-io deleted the feat/kffi-socle-generique branch August 20, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant