Skip to content

Commit

Permalink
Fix clippy unexpected_cfgs warning with recent nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
LDeakin committed May 5, 2024
1 parent 2819a61 commit 37cbeae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix `compute_encoded_size()` for `BitroundCodec` incorrectly indicating various data types were unsupported
- Fix a link in chunk grid docs
- Fix incorrect minimum dependency versions and add CI check
- Fix clippy `unexpected_cfgs` warning with recent nightly

## [0.13.0] - 2024-04-20

Expand Down
5 changes: 4 additions & 1 deletion build.rs
@@ -1,7 +1,10 @@
#[rustversion::nightly]
fn main() {
println!("cargo:rustc-check-cfg=cfg(nightly)");
println!("cargo:rustc-cfg=nightly");
}

#[rustversion::not(nightly)]
fn main() {}
fn main() {
println!("cargo:rustc-check-cfg=cfg(nightly)");
}

0 comments on commit 37cbeae

Please sign in to comment.