Skip to content

mdc-lite v1.1.0

Choose a tag to compare

@saji1970 saji1970 released this 24 Aug 05:09
· 8 commits to main since this release

mdc-lite v1.1.0

No source changes to the crate itself since v0.1.0 — same 14 tests, same 5-function API, same 345 KB footprint. This release exists because rebuilding these exact artifacts from the previously-published instructions failed, and that's worth fixing properly rather than quietly re-uploading the same files under a new tag.

The bug, found by re-running our own docs

Following v0.1.0's Android build instructions exactly (CC_*/AR_* env vars only) reproduces a real failure:

ld: unknown options: --version-script=... --no-undefined-version ...
clang: error: linker command failed with exit code 1

CC_*/AR_* only satisfies the blake3 dependency's own C build script — a separate concern from cargo's own linker selection for the final Rust link step. Without CARGO_TARGET_<TRIPLE>_LINKER set explicitly, cargo fell through to the host's system linker (Apple's ld, which doesn't understand the ELF-target flags rustc was passing it) instead of the NDK's. Fixed in the README and docs site — verified by reproducing the failure, then reproducing the fix, before documenting either.

What's verified, honestly

Platform Asset Status
macOS (Apple Silicon) mdc-lite-v1.1.0-macos-arm64.dylib ✅ Built natively; cargo test (14/14) passing on this exact target
Windows x86_64 mdc-lite-v1.1.0-windows-x86_64.dll + import lib ⚠️ Cross-compiled and linked (mingw-w64) to a real PE32+ DLL; not executed — no Wine available here
Android arm64-v8a / armeabi-v7a / x86_64 mdc-lite-v1.1.0-android-*.so ⚠️ Rebuilt with the corrected linker configuration, real Android NDK (r29); ELF format confirmed; not executed — no emulator/device on hand
iOS / watchOS 🛠️ No prebuilt artifact — requires full Xcode.app, not available in this build environment (an Apple distribution requirement, not a missing package)

Full detail: BUILD_INFO.md. SHA-256 for every asset in CHECKSUMS.txt below.

Docs

saji1970.github.io/ModelDB