[bug] test failure for gstreamer 0.21
I looked into updating gstreamer-* to the latest 0.21 release. The tests passed for 0.20, but started to fail:
running 2 tests
test cross_validate_constants_with_c ... ignored, this causes mismatches with Debian's gstreamer, so we ignore it
test cross_validate_layout_with_c ... FAILED
failures:
---- cross_validate_layout_with_c stdout ----
Layout mismatch for GstCustomMeta
Rust: Layout { size: 24, alignment: 8 }
C: Layout { size: 16, alignment: 8 }
thread 'cross_validate_layout_with_c' panicked at 'FAILED: 180 passed; 1 failed', tests/abi.rs:110:13
stack backtrace:
0: rust_begin_unwind
at /usr/src/rustc-1.70.0/library/std/src/panicking.rs:578:5
1: core::panicking::panic_fmt
at /usr/src/rustc-1.70.0/library/core/src/panicking.rs:67:14
2: abi::Results::expect_total_success
at ./tests/abi.rs:110:13
3: abi::cross_validate_layout_with_c
at ./tests/abi.rs:181:5
4: abi::cross_validate_layout_with_c::{{closure}}
at ./tests/abi.rs:151:35
5: core::ops::function::FnOnce::call_once
at /usr/src/rustc-1.70.0/library/core/src/ops/function.rs:250:5
6: core::ops::function::FnOnce::call_once
at /usr/src/rustc-1.70.0/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
failures:
cross_validate_layout_with_c
test result: FAILED. 0 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.17s
This is for gstreamer-sys. libgstreamer1.0-dev is at 1.22.6