rust-cbindgen: fix build on macOS

+4 -1
+4 -1
pkgs/development/tools/rust/cbindgen/default.nix
··· 27 27 "--skip lib_default_uses_debug_build" 28 28 "--skip lib_explicit_debug_build" 29 29 "--skip lib_explicit_release_build" 30 + ] ++ lib.optionals stdenv.isDarwin [ 31 + # WORKAROUND: test_body fails when using clang 32 + # https://github.com/eqrion/cbindgen/issues/628 33 + "--skip test_body" 30 34 ]; 31 35 32 36 meta = with lib; { 33 - broken = stdenv.isDarwin; 34 37 description = "A project for generating C bindings from Rust code"; 35 38 homepage = "https://github.com/eqrion/cbindgen"; 36 39 license = licenses.mpl20;