Skip to content

chore(f32x2_arith): refresh stale lockfile - #994

Merged
nihalpasham merged 1 commit into
NVIDIA:mainfrom
uurl:fix/f32x2-arith-lockfile
Aug 19, 2026
Merged

nihalpasham merged 1 commit into
NVIDIA:mainfrom
uurl:fix/f32x2-arith-lockfile

Conversation

@uurl

@uurl uurl commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

Closes #993

Summary

Refresh the f32x2_arith example lockfile to match the current dependency graph.

cuda-host now depends on the local ptx-parse crate, but the committed f32x2_arith/Cargo.lock did not include that dependency. As a result, running the repository smoketest regenerated the lockfile and left the working tree dirty.

The refreshed lockfile adds ptx-parse to cuda-host's locked dependencies and records the local ptx-parse package.

Validation

Before refreshing the lockfile:

cargo check --manifest-path crates/rustc-codegen-cuda/examples/f32x2_arith/Cargo.toml --locked
error: cannot update the lock file ... because --locked was passed

After refreshing it:

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

./scripts/smoketest.sh -o '^f32x2_arith$'
Pass: 1 / 1
Fail: 0 / 1

git diff --check
PASS

@nihalpasham nihalpasham added bug Something isn't working build-related Build scripts, toolchain discovery, or compilation setup labels Aug 19, 2026
@nihalpasham

Copy link
Copy Markdown
Collaborator
  • Verified: cargo check --locked is clean, the smoketest passes, and the tree stays clean afterwards. Same lockfile content every other example already carries.

@nihalpasham
nihalpasham merged commit 713549c into NVIDIA:main Aug 19, 2026
108 of 114 checks passed
@uurl
uurl deleted the fix/f32x2-arith-lockfile branch August 19, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working build-related Build scripts, toolchain discovery, or compilation setup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

f32x2_arith smoketest rewrites stale Cargo.lock

2 participants