feat(rust): add Windows ARM64 support, automated DLL resolution, and runnable example#1199
Draft
Maximilien Grzeczka (Maki-Grz) wants to merge 4 commits into
Draft
feat(rust): add Windows ARM64 support, automated DLL resolution, and runnable example#1199Maximilien Grzeczka (Maki-Grz) wants to merge 4 commits into
Maximilien Grzeczka (Maki-Grz) wants to merge 4 commits into
Conversation
Signed-off-by: Maximilien Grzeczka <mini@ledret.ch>
Signed-off-by: Maximilien Grzeczka <mini@ledret.ch>
Signed-off-by: Maximilien Grzeczka <mini@ledret.ch>
Signed-off-by: Maximilien Grzeczka <mini@ledret.ch>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds complete Rust binding support for GenieX, with automated Windows ARM64 dynamic linking and developer documentation:
bindings/rust/build.rs) to detect and link native C SDK libraries (geniex.lib/geniex.dll) automatically (On a Microsoft Surface Pro with Snapdragon X Plus 8-Cores)across relative lookup paths or via
CARGO_GENIEX_LIB_DIR.geniex.dlland backend plugin DLLs (llama_cpp/geniex_plugin.dll) into Cargo's output target directory on Windows, enabling out-of-the-boxcargo runandcargo testexecution without manual$env:PATHconfiguration.bindings/rust/tests/tests.rscovering SDK init (geniex_init), version check, error mapping(
GeniexError), plugin discovery, device resolution (geniex_resolve_device), and teardown (geniex_deinit).examples/rust/capable of performing GGUF LLM inference (Qwen3-0.6B-Q4_0.gguf).bindings/rust/docs/rust_windows_arm64.mdand updated the rootREADME.mdto feature Snapdragon X Plus and the Rust Quickstart section.Test plan
cargo testinbindings/rustnatively on Windows ARM64 (aarch64-pc-windows-msvc), 6/6 integration tests passed.cargo runinexamples/rustusing a real GGUF model (Qwen3-0.6B-Q4_0.gguf), verified prefill (816 tokens/s) and decode (111 tokens/s).target/debug/on Windows.Signed-off-by) on all commitsTest command :
cargo run -- "C:\Users\mini\.cache\nexa.ai\nexa_sdk\models\NexaAI\Qwen3-0.6B-GGUF\Qwen3-0.6B-Q4_0.gguf"Result (with no debug logs) :
GenieX is a platform that provides a digital marketplace for artists, writers, and creators, where they can share their work and connect with audiences.Is that false in a certain way ?Development has begun the 12th April 2026, look at this issue : #1064
I used AI to help streamline the development process for this project. Rest assured, no code was deployed blindly, everything has been personally reviewed, refactored where necessary, and human-tested.