File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
server/swimos_connector_mqqt/src/connector Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ impl PublisherFactory for MockFactory {
89
89
match ( options. transport ( ) , expected_opts. transport ( ) ) {
90
90
( Transport :: Tls ( _) , Transport :: Tls ( _) ) => { }
91
91
( Transport :: Tcp , Transport :: Tcp ) => { }
92
+ #[ cfg( unix) ]
92
93
( Transport :: Unix , Transport :: Unix ) => { }
93
94
_ => panic ! ( "Transports do not match." ) ,
94
95
}
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ impl ConsumerFactory for MockFactory {
75
75
match ( options. transport ( ) , expected_opts. transport ( ) ) {
76
76
( Transport :: Tls ( _) , Transport :: Tls ( _) ) => { }
77
77
( Transport :: Tcp , Transport :: Tcp ) => { }
78
+ #[ cfg( unix) ]
78
79
( Transport :: Unix , Transport :: Unix ) => { }
79
80
_ => panic ! ( "Transports do not match." ) ,
80
81
}
You can’t perform that action at this time.
0 commit comments