File tree 1 file changed +5
-4
lines changed 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -210,8 +210,6 @@ cfg_if! {
210
210
feature = "use_std" ,
211
211
not( any( target_os = "macos" ,
212
212
target_os = "ios" ,
213
- target_os = "android" ,
214
- target_os = "openbsd" ,
215
213
target_os = "bitrig" )
216
214
) ) ) ] {
217
215
// cargo build, don't pull in anything extra as the libstd dep
@@ -237,13 +235,16 @@ cfg_if! {
237
235
extern { }
238
236
} else if #[ cfg( any( target_os = "macos" ,
239
237
target_os = "ios" ,
240
- target_os = "android" ,
241
- target_os = "openbsd" ,
242
238
target_os = "bitrig" ) ) ] {
243
239
#[ link( name = "c" ) ]
244
240
#[ link( name = "m" ) ]
245
241
#[ link( name = "resolv" ) ]
246
242
extern { }
243
+ } else if #[ cfg( any( target_os = "android" ,
244
+ target_os = "openbsd" ) ) ] {
245
+ #[ link( name = "c" ) ]
246
+ #[ link( name = "m" ) ]
247
+ extern { }
247
248
} else if #[ cfg( target_os = "haiku" ) ] {
248
249
#[ link( name = "root" ) ]
249
250
#[ link( name = "network" ) ]
You can’t perform that action at this time.
0 commit comments