Build Script: Ensure Binary A is Built before Binary B

⚓ rust    📅 2025-05-26    👤 surdeus    👁️ 3      

surdeus

Warning

This post was published 34 days ago. The information described in this article may have changed.

I have a cargo workspace with multiple crates, and binary application in crate app needs to call binary enclave in crate secure at runtime.

Is there a way within a cargo build script (build.rs) to tell cargo to build/rebuild binary enclave as a prerequisite to building binary application?

If not possible, I know there are other ways to go about this, but I was wondering if there is such an option within build scripts.

2 posts - 2 participants

Read full topic

🏷️ rust_feed