Skip to content

Commit

Permalink
build: turn off ring's git detection
Browse files Browse the repository at this point in the history
  • Loading branch information
beltram committed Mar 17, 2023
1 parent a11b581 commit fc42683
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[env]
# ? Ring treats warnings as errors during local development by detecting
# ? the presence of a `.git` folder
# ? With us having a git dependency to ring, this triggers this local development behavior, preventing
# ? release builds on certain platforms. Gotta love build systems that are "UB as a service"
# TODO: Remove this once we target a crates.io version of ring. Probably never!
CFLAGS="-Wno-error=inline"

0 comments on commit fc42683

Please sign in to comment.