Skip to content

pin rust version to 1.91 - #12

Open
alexanderivrii wants to merge 1 commit into
qiskit-community:mainfrom
alexanderivrii:pin-rust-version
Open

alexanderivrii wants to merge 1 commit into
qiskit-community:mainfrom
alexanderivrii:pin-rust-version

Conversation

@alexanderivrii

Copy link
Copy Markdown
Collaborator

Running latest clippy started triggering CI warnings.

This commit does several minor things. First, it adds rust-toolchain.toml file and pins the Rust version to 1.91, same as the one currently used for Qiskit (note: I could have also pinned it to an earlier version, which would have disabled the warnings altogether, but I preferred a more up-to-date version ). Second, it changes github workflow to use this pinned version for clippy, instead of the latest nightly version. Third, it fixes some of the simple clippy errors and explicitly disables two (where I felt that the original code was more clear than the one suggested by clippy --fix).

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.

1 participant