Skip to content

Commit 2aa211d

Browse files
committed
Remove comment from data_dir
1 parent f991c63 commit 2aa211d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

cargo-afl/src/common.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ fn xdg_dir() -> Result<xdg::BaseDirectories> {
1414
}
1515

1616
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.
2517
let xdg_dir = xdg_dir()?;
2618
xdg_dir.create_data_directory(dir_name).map_err(Into::into)
2719
}

0 commit comments

Comments
 (0)