We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
data_dir
1 parent f991c63 commit 2aa211dCopy full SHA for 2aa211d
cargo-afl/src/common.rs
@@ -14,14 +14,6 @@ fn xdg_dir() -> Result<xdg::BaseDirectories> {
14
}
15
16
fn data_dir(dir_name: &str) -> Result<PathBuf> {
17
- // For docs.rs builds, use OUT_DIR.
18
- // For other cases, use a XDG data directory.
19
- // It is necessary to use OUT_DIR for docs.rs builds,
20
- // as that is the only place where we can write to.
21
- // The Cargo documentation recommends that build scripts
22
- // place their generated files at OUT_DIR too, but we
23
- // don't change that for now for normal builds.
24
- // smoelius: AFL++ is no longer built on docs.rs.
25
let xdg_dir = xdg_dir()?;
26
xdg_dir.create_data_directory(dir_name).map_err(Into::into)
27
0 commit comments