Skip to content

Add Cargo.lock.#282

Merged
LegNeato merged 1 commit intoRust-GPU:mainfrom
nnethercote:add-Cargo-lock
Oct 1, 2025
Merged

Add Cargo.lock.#282
LegNeato merged 1 commit intoRust-GPU:mainfrom
nnethercote:add-Cargo-lock

Conversation

@nnethercote
Copy link
Copy Markdown
Collaborator

rust-cuda is a library. Is committing its Cargo.lock a good idea?

Overall, the signs point to "yes".

rust-cuda is a library. Is committing its `Cargo.lock` a good idea?
- https://blog.rust-lang.org/2023/08/29/committing-lockfiles/ says
  "maybe": it depends on the details of the library.
- https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file
  says "Cargo.lock should probably be tracked too if the toolchain is
  pinned to a specific release, to avoid potential compatibility issues
  with dependencies." (rust-cuda pins to a specific Nightly release.)
- rust-gpu has a committed `Cargo.lock`.

Overall, the signs point to "yes".
@LegNeato LegNeato merged commit 7a1cb56 into Rust-GPU:main Oct 1, 2025
12 checks passed
@nnethercote nnethercote deleted the add-Cargo-lock branch October 1, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants