Skip to content

release blocker: native link-cache fixture invalidated by cross-module specialization #9129

Description

@proggeramlug

Full CI run 33289058389 failed cargo-test-perry shard 6 in native_compile_skips_link_on_identical_second_build. After changing util.ts, the assertion expected one object-cache hit and one miss, but both modules had different post-transform HIR and correctly missed. The fixture directly called an imported function, so optimizer growth can legitimately specialize its body into the consumer. Reproduced deterministically on macOS at release SHA f10bb34. Keep the strict one-hit/one-miss contract, but use a side-effect import so the consumer module is genuinely unchanged. Validate on Linux before rerunning release CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions