build_profile,deb,sandbox,test: move phases and profiling out of deb
`Phase`, its classifier selection and `BuildProfiler` described the build flow from inside `deb`, so `sandbox` had to import them from `deb` to announce chroot work. Moving them to `src/build_profile.rs` leaves `sandbox` depending on `deb` only for the session record. `PhaseTiming` and `BuildProfile` move with the profiler, since they are the record shape it produces. `deb` re-exports `Phase` and `session` re-exports the record types, so their public paths stay the same.
This commit is contained in:
1 parent
8e6035c185
commit
24bade82ec
10 files changed
+302
-276
No files matched your search
@@ -49,6 +49,8 @@ Rules:
|
||||
- `sandbox` — the build environment trait, host and unshare backends,
|
||||
staging (`src/sandbox/`)
|
||||
- `exec` — subprocess line capture and host process helpers (`src/exec.rs`)
|
||||
- `build_profile` — build phase labels and wall-clock profiling
|
||||
(`src/build_profile.rs`)
|
||||
- `interrupt` — Ctrl+C interception and interrupt-time cleanup
|
||||
(`src/interrupt.rs`)
|
||||
- `debian` — Debian format primitives: control, versions, checksums,
|
||||
|
||||
Reference in new issue
Block a user