Fix document_features for libafl_libfuzzer (#1480)
This commit is contained in:
parent
638d315b57
commit
ab837cbbf5
@ -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 = [
|
||||||
|
@ -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};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user