Closed mauricelam closed 7 months ago
Running into the same issue -- my first time trying to use the project. The workspace Cargo.toml
looks like this:
[workspace]
members = [
"a",
"b",
"c",
"d",
"e",
]
[profile.release]
debug = true
I think based on https://github.com/rust-fuzz/cargo-fuzz/issues/226#issuecomment-629822514 if you run cargo fuzz init
inside a particular workspace member it works. Worked fine for me. Maybe the docs should be updated to make that clear in the case of workspaces.
@exdx That sounds like a different problem? I was running cargo fuzz init
from inside the member
directory but it still fails if the member has edition.workspace = true
.
When running
cargo fuzz init
on a workspace, where the member crate's Cargo.toml hasedition.workspace = true
, the command fails.Cargo.toml
:member/Cargo.toml
:edition.workspace
is supported by cargo itself per https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table. If I changeedition.workspace = true
back toedition = "2021"
, the init command runs successfully.