Skip to content

Commit

Permalink
removed deprecated function, bump to 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gedigi committed Sep 11, 2019
1 parent 46a2eec commit cb52cdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libfuzzer-sys"
version = "0.1.0"
version = "0.1.1"
authors = ["The cargo-fuzz Project Developers"]
repository = "https://github.com/rust-fuzz/libfuzzer-sys"
license = "MIT/Apache-2.0/NCSA"
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
extern "C" {
#![allow(improper_ctypes)] // we do not actually cross the FFI bound here

extern "C" {
fn rust_fuzzer_test_input(input: &[u8]);
}

#[export_name = "LLVMFuzzerTestOneInput"]
#[allow(clippy::block_in_if_condition_stmt)]
pub fn test_input_wrap(data: *const u8, size: usize) -> i32 {
if ::std::panic::catch_unwind(|| unsafe {
let data_slice = ::std::slice::from_raw_parts(data, size);
Expand Down

0 comments on commit cb52cdf

Please sign in to comment.