Skip to content

Commit eb02b5f

Browse files
committed
return 1 as exitcode for mock-ffi impl
1 parent 7460e59 commit eb02b5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bless_crawl/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ mod mock_ffi {
101101
result_len: usize,
102102
bytes_written: *mut usize,
103103
) -> ExitCode {
104-
unimplemented!()
104+
1
105105
}
106106

107107
#[allow(clippy::too_many_arguments)]
@@ -115,7 +115,7 @@ mod mock_ffi {
115115
result_len: usize,
116116
bytes_written: *mut usize,
117117
) -> ExitCode {
118-
unimplemented!()
118+
1
119119
}
120120

121121
#[allow(clippy::too_many_arguments)]
@@ -129,11 +129,11 @@ mod mock_ffi {
129129
result_len: usize,
130130
bytes_written: *mut usize,
131131
) -> ExitCode {
132-
unimplemented!()
132+
1
133133
}
134134

135135
pub unsafe fn close(_h: Handle) -> ExitCode {
136-
unimplemented!()
136+
1
137137
}
138138
}
139139

0 commit comments

Comments
 (0)