File tree 3 files changed +10
-2
lines changed
crates/swift-integration-tests/src
3 files changed +10
-2
lines changed 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.
1
4
#![ allow( dead_code) ]
2
5
3
6
#[ swift_bridge:: bridge]
Original file line number Diff line number Diff line change 1
1
//! See also: crates/swift-bridge-ir/src/codegen/codegen_tests/option_codegen_tests.rs
2
2
3
+ use ffi:: OptTestOpaqueSwiftType ;
4
+
3
5
#[ swift_bridge:: bridge]
4
6
mod ffi {
5
7
#[ swift_bridge( swift_repr = "struct" ) ]
@@ -299,8 +301,8 @@ fn rust_reflect_option_ref_opaque_rust_type(
299
301
arg
300
302
}
301
303
pub fn rust_reflect_option_opaque_swift_type (
302
- arg : Option < ffi :: OptTestOpaqueSwiftType > ,
303
- ) -> Option < ffi :: OptTestOpaqueSwiftType > {
304
+ arg : Option < OptTestOpaqueSwiftType > ,
305
+ ) -> Option < OptTestOpaqueSwiftType > {
304
306
arg
305
307
}
306
308
Original file line number Diff line number Diff line change 1
1
//! 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.
2
5
#![ allow( dead_code) ]
3
6
4
7
#[ swift_bridge:: bridge]
You can’t perform that action at this time.
0 commit comments