Skip to content

Commit c6b28ae

Browse files
committed
Reexport arbitrary crate
1 parent 2542ae4 commit c6b28ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
pub use arbitrary;
2+
13
extern "C" {
24
#![allow(improper_ctypes)] // we do not actually cross the FFI bound here
35

@@ -48,7 +50,7 @@ macro_rules! fuzz_target {
4850
(|$data:ident: $dty: ty| $body:block) => {
4951
#[no_mangle]
5052
pub extern fn rust_fuzzer_test_input(bytes: &[u8]) {
51-
use arbitrary::{Arbitrary, RingBuffer};
53+
use libfuzzer_sys::arbitrary::{Arbitrary, RingBuffer};
5254

5355
let mut buf = match RingBuffer::new(bytes, bytes.len()) {
5456
Ok(b) => b,

0 commit comments

Comments
 (0)