Skip to content

Commit caa366c

Browse files
committed
turn off test on MIRI
1 parent 3fcd078 commit caa366c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

capnpc/test/dynamic.rs

+7
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,13 @@ fn test_downcasts() {
507507
}
508508
}
509509

510+
// Function pointer equality is used in
511+
// `impl PartialEq for RawBrandedStructSchema`. On MIRI that implies
512+
// that all struct types are inequal.
513+
//
514+
// The plan is to remove that impl in the future, to avoid
515+
// unpleasant surprises.
516+
#[cfg_attr(miri, ignore)]
510517
#[test]
511518
fn introspect_equality() {
512519
use capnp::introspect::Introspect;

0 commit comments

Comments
 (0)