File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,10 @@ fn build() {
97
97
config. define ( "NNG_TESTS" , "OFF" ) ;
98
98
config. define ( "NNG_ENABLE_COMPAT" , "OFF" ) ;
99
99
config. define ( "NNG_TRANSPORT_WS" , "OFF" ) ;
100
+ //File descriptor is experimental transport so don't use it
101
+ //idk why it is ON by default
102
+ config. define ( "NNG_TRANSPORT_FDC" , "OFF" ) ;
103
+
100
104
#[ cfg( not( feature = "http" ) ) ]
101
105
config. define ( "NNG_ENABLE_HTTP" , "OFF" ) ;
102
106
#[ cfg( feature = "http" ) ]
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ fn should_verify_http_feature_enabled() {
10
10
#[ cfg( not( feature = "http" ) ) ]
11
11
assert_eq ! ( result, nng_c_sys:: nng_errno_enum:: NNG_ENOTSUP ) ;
12
12
#[ cfg( feature = "http" ) ]
13
- assert_eq ! ( result , 0 ) ;
14
-
15
- # [ cfg ( feature = "http" ) ]
16
- unsafe {
17
- nng_c_sys :: nng_http_req_free ( req ) ;
13
+ {
14
+ assert_eq ! ( result , 0 ) ;
15
+ unsafe {
16
+ nng_c_sys :: nng_http_req_free ( req ) ;
17
+ }
18
18
}
19
19
}
You can’t perform that action at this time.
0 commit comments