Fix artifacts missing on ExecOutcome

This commit is contained in:
Jonathan Tran
2025-01-07 20:23:29 -05:00
parent f26f8e13df
commit a3cbb8bf90

View File

@ -105,6 +105,8 @@ pub struct ExecOutcome {
/// Operations that have been performed in execution order, for display in
/// the Feature Tree.
pub operations: Vec<Operation>,
/// Output map of UUIDs to artifacts.
pub artifacts: IndexMap<ArtifactId, Artifact>,
}
impl Default for ExecState {
@ -145,6 +147,7 @@ impl ExecState {
ExecOutcome {
memory: self.mod_local.memory,
operations: self.mod_local.operations,
artifacts: self.global.artifacts,
}
}