Skip to content

Commit eb3528b

Browse files
hyperpolymathclaude
andcommitted
fix: wire orphaned sarif and sweep modules into module tree
The sarif.rs and sweep.rs source files existed but were never registered in their respective mod.rs/lib.rs, causing test compilation failures. Also adds Default derive to ProgramStatistics for test constructors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f631506 commit eb3528b

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ pub mod kanren;
2727
pub mod panll;
2828
pub mod report;
2929
pub mod signatures;
30+
pub mod sweep;
3031
pub mod storage;
3132
pub mod types;

src/report/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ pub mod formatter;
77
pub mod generator;
88
pub mod gui;
99
pub mod output;
10+
pub mod sarif;
1011
pub mod tui;
1112

1213
use crate::types::*;

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ pub struct AssailReport {
377377
pub taint_matrix: TaintMatrix,
378378
}
379379

380-
#[derive(Debug, Clone, Serialize, Deserialize)]
380+
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
381381
pub struct ProgramStatistics {
382382
pub total_lines: usize,
383383
pub unsafe_blocks: usize,

0 commit comments

Comments
 (0)