From a4253ce849d386824a9a24344e656e200202718c Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Wed, 11 Dec 2024 11:47:21 -0800 Subject: [PATCH] remove nightly flags, rustflags --- .cargo/config.toml | 4 ---- .github/workflows/ci.yml | 20 -------------------- 2 files changed, 24 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index be883d3e2fd4..e604c11a1087 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,12 +1,8 @@ [build] rustflags = [ - "-Zproc-macro-backtrace", # Flag to make build.rs scripts generate docs. Should only be used in this repository # internally, not by dependants. '--cfg=HYDROFLOW_GENERATE_DOCS', - # https://github.com/rust-lang/rust-clippy/issues/10087 - ## TODO(mingwei): Need rust-analyzer support: - # "-Aclippy::uninlined-format-args", ] [target.x86_64-apple-darwin] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b4cc3b9e478..82eda5e7febf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,11 +55,6 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - - name: Override RUSTFLAGS - run: echo "RUSTFLAGS=--cfg noop" >> $GITHUB_ENV - shell: bash - if: matrix.rust_release == 'latest-stable' - - name: Install toolchain uses: actions-rs/toolchain@v1 with: @@ -113,11 +108,6 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - - name: Override RUSTFLAGS - run: echo "RUSTFLAGS=--cfg noop" >> $GITHUB_ENV - shell: bash - if: matrix.rust_release == 'latest-stable' - - name: Install toolchain uses: actions-rs/toolchain@v1 with: @@ -162,11 +152,6 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - - name: Override RUSTFLAGS - run: echo "RUSTFLAGS=--cfg noop" >> $GITHUB_ENV - shell: bash - if: matrix.rust_release == 'latest-stable' - - name: Install toolchain uses: actions-rs/toolchain@v1 with: @@ -262,11 +247,6 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - - name: Override RUSTFLAGS - run: echo "RUSTFLAGS=--cfg noop" >> $GITHUB_ENV - shell: bash - if: matrix.rust_release == 'latest-stable' - - name: Install toolchain uses: actions-rs/toolchain@v1 with: