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
PR #1333 introduced crates/fbuild-library/src/library/clearcore_core.rs implementing the shared crate::Package / core traits whose signatures are typed in std::path::PathBuf (e.g. fn ensure_installed(&self) -> fbuild_core::Result<PathBuf>). The new file therefore trips ban_std_pathbuf (11 deny errors), which has kept Dylint red for every PR merged since #1333.
Migrating just this file to fbuild_core::path::NormalizedPath is not possible without changing trait signatures shared by all library core files (sam_core.rs, apollo3_core.rs, …) — a repo-wide migration that belongs in its own effort.
Per the rollout strategy in dylints/ban_std_pathbuf/src/allowlist.txt, this files the issue for a justified entry:
add crates/fbuild-library/src/library/clearcore_core.rs to the allowlist with an inline justification comment referencing this issue
remove the entry when the shared Package/core traits migrate to NormalizedPath
Sibling precedent: every existing library core file is already allowlisted as legacy.
Resolved by #1338: crates/fbuild-library/src/library/clearcore_core.rs now carries the allowlist entry with the inline justification (Package/core traits are PathBuf-typed; migration is repo-wide per #1339). Dylint job green on main since the merge.
Activity
docs(dylint): justify clearcore_core.rs allowlist entry (#1339)
fix(ci): unblock red main — Dylint allowlist for clearcore_core.rs + …
zackees commentedon Aug 21, 2026
file a refactor issue to use NormalizedPatg
zackees commentedon Aug 21, 2026
Resolved by #1338:
crates/fbuild-library/src/library/clearcore_core.rsnow carries the allowlist entry with the inline justification (Package/core traits are PathBuf-typed; migration is repo-wide per #1339). Dylint job green on main since the merge.