diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1574bdc..0386034 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: with: toolchain: ${{matrix.rust}} - name: Enable type layout randomization - run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout\ --cfg=exhaustive >> $GITHUB_ENV + run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zrandomize-layout >> $GITHUB_ENV if: matrix.rust == 'nightly' - run: cargo check --locked - run: cargo update diff --git a/build.rs b/build.rs index 98016d8..ce2c9a2 100644 --- a/build.rs +++ b/build.rs @@ -4,7 +4,6 @@ use std::path::PathBuf; fn main() { println!("cargo:rerun-if-changed=build.rs"); - println!("cargo:rustc-check-cfg=cfg(exhaustive)"); println!("cargo:rustc-check-cfg=cfg(host_os, values(\"windows\"))"); let prettyplease_version = match env::var("DEP_PRETTYPLEASE02_VERSION") { diff --git a/src/main.rs b/src/main.rs index 3f0bba2..7ecd933 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,7 +15,6 @@ clippy::trivially_copy_pass_by_ref, clippy::uninlined_format_args, )] -#![cfg_attr(all(test, exhaustive), feature(non_exhaustive_omitted_patterns_lint))] mod cmd; mod config;