Phase 5 tranche 2: luminal-vgd-ffi C ABI staticlib#10
Merged
Conversation
New staticlib crate wrapping luminal-vgd-host for the C++ side: device open/handshake/create/ping/destroy, ring open/status/claim/ release, and slot_texture_name composition (texture access itself stays in C++ via OpenSharedResourceByName + bounded keyed-mutex acquire). All entry points are panic-proof; 0 / negative proto err / VGD_ERR_IO convention. Header generated by cbindgen into include/luminal_vgd.h (committed, regenerated every build). Built for x86_64-pc-windows-gnullvm (UCRT) to match LuminalShine's MSYS2 UCRT64 clang; link-verified into a UCRT64 C++ binary (-lcfgmgr32 -lws2_32 -luserenv -lntdll -lbcrypt) with in-process execution checks. docs/BUILDING.md documents the build+link line. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
|
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
luminal-vgd-ffistaticlib wrappingluminal-vgd-hostfor LuminalShine's C++: device open/handshake/create/ping/destroy, ring open/status/claim/release,vgd_slot_texture_namecomposition. Panic-proof entry points;0/ negative proto err /VGD_ERR_IOconvention.include/luminal_vgd.h(committed, regenerated each build) with the link line documented.x86_64-pc-windows-gnullvm(UCRT) matching LuminalShine's MSYS2 UCRT64 clang; BUILDING.md documents build+link.Verification
Link-tested into a UCRT64 clang++ binary (
-lcfgmgr32 -lws2_32 -luserenv -lntdll -lbcrypt): in-process Rust execution verified (texture-name composition exact), graceful null on unelevated device open. 11/11 workspace test targets green; clippy silent.🤖 Generated with Claude Code