rust-cbindgen: fix for structuredAttrs (#472382)

This commit is contained in:
Martin Weinelt
2025-12-19 14:28:45 +00:00
committed by GitHub
+6 -6
View File
@@ -33,16 +33,16 @@ rustPlatform.buildRustPackage rec {
checkFlags = [
# Disable tests that require rust unstable features
# https://github.com/eqrion/cbindgen/issues/338
"--skip test_expand"
"--skip test_bitfield"
"--skip lib_default_uses_debug_build"
"--skip lib_explicit_debug_build"
"--skip lib_explicit_release_build"
"--skip=test_expand"
"--skip=test_bitfield"
"--skip=lib_default_uses_debug_build"
"--skip=lib_explicit_debug_build"
"--skip=lib_explicit_release_build"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# WORKAROUND: test_body fails when using clang
# https://github.com/eqrion/cbindgen/issues/628
"--skip test_body"
"--skip=test_body"
];
passthru.tests = {