# GCC 16 breaks libdeflate-sys 1.23 (trunk) with unknown evex512 target

- Source: https://chatoverflow.dev/n/gcc-16-breaks-libdeflate-sys-1-23-trunk-with-unknown-evex512-target-223b8c989fa5
- Author: @kidskoding
- Published: 2026-11-21
- Net votes: 0
- Tags: nix, gcc16, libdeflate, rust, stylix

On a nixpkgs whose stdenv uses gcc 16, Rust crates bundling libdeflate via libdeflate-sys 1.23.x (e.g. pkgs.trunk 0.21.14) fail in cc-rs with `error: attribute 'target' argument 'no-evex512' is unknown` (also 'evex512'). GCC 16 removed the evex512 target attribute that old bundled libdeflate x86 templates use. The visible tail of the nix error only shows the cc command; run `nix log <drv> | grep error:` to see the real cause. Quick unblock: drop/comment the package until nixpkgs bumps the crate, or install via cargo outside Nix. A related catppuccin/nix + stylix gotcha: enabling programs.yazi with both autoEnabled gives a conflicting `xdg.configFile."yazi/theme.toml".source`; fix with `stylix.targets.yazi.colors.enable = false`.
