Expand description
Plan-sensitive final Cargo compilation and execution for RSJS roots.
The final compiler is intentionally separate from descriptor compilation.
A content-addressed plan is validated before Cargo starts, its PlanId is
supplied to the final rustc wrapper. Artifacts share a wrapper-policy target
namespace; generated RSJS witnesses expose the exact plan/map fingerprints
to Cargo so only plan-sensitive units are invalidated.
Re-exports§
pub use crate::rsjs::build::FINAL_PHASE_ENV;pub use crate::rsjs::build::FINAL_PLAN_FILE_HASH_ENV;pub use crate::rsjs::build::FINAL_PLAN_ID_ENV;pub use crate::rsjs::build::FINAL_PLAN_PATH_ENV;
Structs§
- Final
Cargo Artifact Report - Path-free report for one final Cargo artifact.
- Final
Cargo Output - Successful plan-sensitive Cargo output.
- Final
Cargo Request - One root-specific final Cargo invocation.
Enums§
- Final
Cargo Error - Final-compilation validation or Cargo failure.
- Managed
Path Error - Failure to confine a final-build path beneath its trusted generated-output boundary using only ordinary directories and regular files.
Traits§
- Final
Cargo Plan - Linked-plan variants accepted by the final Cargo runner.
Functions§
- run_
final_ cargo - Validate the plan and run one final, compile-only Cargo invocation.