Fix document_features for libafl_libfuzzer (#1480)

This commit is contained in:
Dominik Maier 2023-08-29 15:10:50 +02:00 committed by GitHub
parent 638d315b57
commit ab837cbbf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -37,6 +37,7 @@ libfuzzer-sys = { version = "0.4.7", default-features = false }
document-features = { version = "0.2", optional = true } document-features = { version = "0.2", optional = true }
[package.metadata.docs.rs] [package.metadata.docs.rs]
features = ["document-features"]
all-features = true all-features = true
rustdoc-args = [ rustdoc-args = [

View File

@ -69,8 +69,8 @@
//! This crate links to a (separately built) internal crate which affords the actual functionality. //! 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 //! 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). //! 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}; use std::ffi::{c_char, c_int};