Skip to content

Commit 91c5eec

Browse files
committed
Update charon submodule increment 7
Advances charon by 16 commits with pass reorganization and CFG improvements. API changes: Statement and Terminator gained comments_before field (Vec<String>). Updated both Statement and Terminator construction sites. Progress: 62 of 1034 commits.
1 parent 5179309 commit 91c5eec

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
257257

258258
[[package]]
259259
name = "charon"
260-
version = "0.1.64"
260+
version = "0.1.65"
261261
dependencies = [
262262
"annotate-snippets",
263263
"anstream",

charon

Submodule charon updated 37 files

kani-compiler/src/codegen_aeneas_llbc/mir_to_ullbc/mod.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ impl<'a, 'tcx> Context<'a, 'tcx> {
14921492
};
14931493
if let Some(content) = content {
14941494
let span = self.translate_span(stmt.span);
1495-
return Some(CharonStatement { span, content });
1495+
return Some(CharonStatement { span, content, comments_before: Vec::new() });
14961496
};
14971497
None
14981498
}
@@ -1563,8 +1563,12 @@ impl<'a, 'tcx> Context<'a, 'tcx> {
15631563
_ => todo!(),
15641564
};
15651565
(
1566-
statement.map(|statement| CharonStatement { span, content: statement }),
1567-
CharonTerminator { span, content: terminator },
1566+
statement.map(|statement| CharonStatement {
1567+
span,
1568+
content: statement,
1569+
comments_before: Vec::new(),
1570+
}),
1571+
CharonTerminator { span, content: terminator, comments_before: Vec::new() },
15681572
)
15691573
}
15701574

0 commit comments

Comments
 (0)