File tree Expand file tree Collapse file tree
crates/swift-integration-tests/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // This is a temporary workaround until https://github.com/chinedufn/swift-bridge/issues/270
2+ // is closed. When tests are compiled they have `-D warnings` (deny warnings) enabled, so
3+ // tests won't even compile unless this warning is ignored.
14#![ allow( dead_code) ]
25
36#[ swift_bridge:: bridge]
Original file line number Diff line number Diff line change 11//! See also: crates/swift-bridge-ir/src/codegen/codegen_tests/option_codegen_tests.rs
22
3+ use ffi:: OptTestOpaqueSwiftType ;
4+
35#[ swift_bridge:: bridge]
46mod ffi {
57 #[ swift_bridge( swift_repr = "struct" ) ]
@@ -299,8 +301,8 @@ fn rust_reflect_option_ref_opaque_rust_type(
299301 arg
300302}
301303pub fn rust_reflect_option_opaque_swift_type (
302- arg : Option < ffi :: OptTestOpaqueSwiftType > ,
303- ) -> Option < ffi :: OptTestOpaqueSwiftType > {
304+ arg : Option < OptTestOpaqueSwiftType > ,
305+ ) -> Option < OptTestOpaqueSwiftType > {
304306 arg
305307}
306308
Original file line number Diff line number Diff line change 11//! See also: crates/swift-bridge-ir/src/codegen/codegen_tests/result_codegen_tests.rs
2+ // This is a temporary workaround until https://github.com/chinedufn/swift-bridge/issues/270
3+ // is closed. When tests are compiled they have `-D warnings` (deny warnings) enabled, so
4+ // tests won't even compile unless this warning is ignored.
25#![ allow( dead_code) ]
36
47#[ swift_bridge:: bridge]
You can’t perform that action at this time.
0 commit comments