Skip to content

Commit

Permalink
chore: Replace build.rs with lint config in Cargo.toml (#1354)
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 we had
to add for #1067.
(The nightly lint got updated before hitting beta, so there shouldn't be
compatibility problems there).

~~Depends on #1355~~
  • Loading branch information
aborgna-q authored Jul 29, 2024
1 parent b2d4013 commit b7a39b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ license = "Apache-2.0"
# authors

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

missing_docs = "warn"
[workspace.lints.clippy]
# Unstable check, may cause false positives.
# https://github.com/rust-lang/rust-clippy/issues/5112
Expand Down
7 changes: 0 additions & 7 deletions hugr-core/build.rs

This file was deleted.

0 comments on commit b7a39b9

Please sign in to comment.