You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code that looks for the crate_root looks for Cargo.toml files where name = "{{crate_name}}" is in the file. Normally this is an OK assumption but the fuzzer has this line in the bin section:
[[bin]]
name = "pallet-paged-list"
So my assumption is bad and what I should be doing is real TOML parsing here. So will add that.
Originally reported here: paritytech/substrate#14672 (comment)
What's telling is this:
frame/paged-list/src/lib.rs
caller_crate_root()
at that site:frame/paged-list/fuzzer
CARGO_MANIFEST_DIR
at that site:frame/paged-list
CARGO_CRATE_NAME
at that site:pallet_paged_list
CARGO_PKG_NAME
at that site:pallet-paged-list
So somehow
caller_crate_root()
is failing to explore the parent directory in this very specific situation that we can only reproduce in CIThe text was updated successfully, but these errors were encountered: