Merge pull request #190439 from Enzime/fix/rust-cbindgen

This commit is contained in:
Martin Weinelt 2022-09-10 11:48:55 +02:00 committed by GitHub
commit 7cedbf5357
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,10 +27,13 @@ rustPlatform.buildRustPackage rec {
"--skip lib_default_uses_debug_build"
"--skip lib_explicit_debug_build"
"--skip lib_explicit_release_build"
] ++ lib.optionals stdenv.isDarwin [
# WORKAROUND: test_body fails when using clang
# https://github.com/eqrion/cbindgen/issues/628
"--skip test_body"
];
meta = with lib; {
broken = stdenv.isDarwin;
description = "A project for generating C bindings from Rust code";
homepage = "https://github.com/eqrion/cbindgen";
license = licenses.mpl20;