Skip to content

Commit

Permalink
fix: Allow static-mut-refs warnings in clippy
Browse files Browse the repository at this point in the history
It looks like clippy has been updated and now it throws the following
error:
`error: creating a shared reference to mutable static is discouraged`

Allowing the warning until we get the proper fix.

Signed-off-by: Miguel Martín <[email protected]>
  • Loading branch information
mmartinv committed Mar 21, 2024
1 parent 50c3760 commit 2da0af2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ jobs:
with:
toolchain: stable
components: clippy
- run: cargo clippy -- -D warnings -D clippy::panic -D clippy::todo
# TODO remove '-A static-mut-refs' and fix the real problem
- run: cargo clippy -- -D warnings -A static-mut-refs -D clippy::panic -D clippy::todo

build_and_test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2da0af2

Please sign in to comment.