Skip to content

differential: take the Rust harness's link paths from cargo - #172

Merged
VeaaC merged 1 commit into
mainfrom
differential-cargo-artifacts
Nov 21, 2026
Merged

VeaaC merged 1 commit into
mainfrom
differential-cargo-artifacts

Conversation

@VeaaC

@VeaaC VeaaC commented Nov 21, 2026

Copy link
Copy Markdown
Owner

The differential stage links each per-schema Rust harness against the libraries cargo just built. The paths now come from cargo build --message-format=json-render-diagnostics rather than from a fixed rust/target/debug/ layout. Newer cargo keeps a library's full metadata in a separate .rmeta under target/debug/build/<pkg>/<hash>/out/, leaves a stub .rlib in target/debug/, and no longer puts dependencies in target/debug/deps/. With the fixed paths, rustc failed with can't find crate for rapidproto. The harness now also follows CARGO_TARGET_DIR.

@VeaaC
VeaaC merged commit e0317e2 into main Nov 21, 2026
24 checks passed
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