diff options
author | Alan Somers <asomers@gmail.com> | 2021-11-15 20:52:58 -0700 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2021-11-15 20:52:58 -0700 |
commit | 0df82ded4704caf78c32df941c170cdacc9688dc (patch) | |
tree | afb439afa68d1ad8b1acc544bb79a890f04a7327 | |
parent | 3ad742fadc71713de77557ff17f396f03e5016fa (diff) | |
download | nix-0df82ded4704caf78c32df941c170cdacc9688dc.zip |
Suppress deprecation warnings on Dragonfly
libc::stat is deprecated on DragonflyBSD in libc. But there isn't any
alternative yet, so Nix must simply suppress the warnings. It's used in
too many places to suppress each one individually, so just suppress all
deprecation warnings globally until it's properly fixed.
https://github.com/rust-lang/libc/pull/2522
-rw-r--r-- | .cirrus.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 03ed2e72..186443d2 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -245,6 +245,10 @@ task: - name: DragonFly BSD x86_64 env: TARGET: x86_64-unknown-dragonfly + # Temporarily allow deprecation on DragonflyBSD until an alternative is + # available. + #https://github.com/rust-lang/libc/pull/2522 + RUSTFLAGS: -D warnings -A deprecated - name: OpenBSD x86_64 env: TARGET: x86_64-unknown-openbsd |