Skip to content

Commit

Permalink
chore: Replace build.rs with lint config in Cargo.toml (#509)
Browse files Browse the repository at this point in the history
Rust 1.80 [just
dropped](https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html), adding
a lint option that allows us to avoid the `build.rs` definition added in
#386.
(The nightly lint got updated before hitting beta, so there shouldn't be
compatibility problems there).
  • Loading branch information
aborgna-q authored Jul 25, 2024
1 parent fe7d40e commit 7b14f18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ repository = "https://github.com/CQCL/tket2"
license = "Apache-2.0"

[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ci_run)'] }
missing_docs = "warn"

[workspace.dependencies]
Expand Down
7 changes: 0 additions & 7 deletions tket2/build.rs

This file was deleted.

0 comments on commit 7b14f18

Please sign in to comment.