Skip to content

Rust Cargo/cfg diagnostics baseline fixture #602

Description

@jununfly

This was generated by AI during triage.

What to build

Add or harden a deterministic Rust core fixture that captures the current Cargo package, crate-root, feature, and cfg diagnostic baseline for the Cargo/cfg diagnostics hardening v1 slice.

This slice is evidence-first: it should make the current behavior explicit before any diagnostic taxonomy is expanded. The source decision is docs/benchmarks/2026-06-27-rust-cargo-feature-cfg-conditional-semantics-decision.md.

Acceptance criteria

  • A deterministic fixture covers repo-local Cargo package ownership, lib/bin crate roots, cfg(feature = "..."), cfg(target_os = "..."), cfg(test), and cfg_attr(...) examples.
  • The fixture asserts result JSON/profile counters for the current Cargo/cfg taxonomy instead of relying on human inspection.
  • The fixture documents current deferred/no-go behavior for registry dependencies and generated/build-script semantics without changing graph writes.
  • Targeted Rust core tests pass.

Blocked by

None - can start immediately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestready-for-agentFully specified and ready for an AFK agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions