Skip to content

Commit

Permalink
Fix document_features for libafl_libfuzzer (#1480)
Browse files Browse the repository at this point in the history
  • Loading branch information
domenukk authored Aug 29, 2023
1 parent 638d315 commit ab837cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions libafl_libfuzzer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ libfuzzer-sys = { version = "0.4.7", default-features = false }
document-features = { version = "0.2", optional = true }

[package.metadata.docs.rs]
features = ["document-features"]
all-features = true

rustdoc-args = [
Expand Down
4 changes: 2 additions & 2 deletions libafl_libfuzzer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
//! This crate links to a (separately built) internal crate which affords the actual functionality.
//! The internal crate must be built separately to ensure flags from dependent crates are not leaked
//! to the runtime (e.g., to prevent coverage being collected on the runtime).
#![doc = document_features::document_features!()]
//!
#![cfg_attr(feature = "document-features", doc = document_features::document_features!())]

use std::ffi::{c_char, c_int};

Expand Down

0 comments on commit ab837cb

Please sign in to comment.