Skip to content

f32x2_arith smoketest rewrites stale Cargo.lock #993

Closed

Description

@uurl

Problem

Running the f32x2_arith example through the repository smoketest rewrites its committed Cargo.lock and leaves the working tree dirty.

The lockfile is stale relative to the current dependency graph: cuda-host depends on the local ptx-parse crate, but the example lockfile does not record that dependency.

This can also be reproduced with:

cargo check \
  --manifest-path crates/rustc-codegen-cuda/examples/f32x2_arith/Cargo.toml \
  --locked

which fails because Cargo needs to update the lockfile.

Expected behavior

The committed lockfile should already match the current dependency graph so --locked succeeds and the smoketest does not modify tracked files.

Activity

  1. added
    bug
    build-related
    on Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbuild-related

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions