File tree 3 files changed +12
-3
lines changed
3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -228,6 +228,10 @@ cfg_if! {
228
228
#[ link( name = "root" ) ]
229
229
#[ link( name = "network" ) ]
230
230
extern { }
231
+ } else if #[ cfg( target_os = "fuchsia" ) ] {
232
+ #[ link( name = "c" ) ]
233
+ #[ link( name = "mxio" ) ]
234
+ extern { }
231
235
} else {
232
236
#[ link( name = "c" ) ]
233
237
#[ link( name = "m" ) ]
@@ -843,7 +847,8 @@ extern {
843
847
cfg_if ! {
844
848
if #[ cfg( any( target_os = "linux" ,
845
849
target_os = "android" ,
846
- target_os = "emscripten" ) ) ] {
850
+ target_os = "emscripten" ,
851
+ target_os = "fuchsia" ) ) ] {
847
852
mod notbsd;
848
853
pub use self :: notbsd:: * ;
849
854
} else if #[ cfg( any( target_os = "macos" ,
Original file line number Diff line number Diff line change @@ -728,6 +728,7 @@ extern {
728
728
729
729
cfg_if ! {
730
730
if #[ cfg( any( target_env = "musl" ,
731
+ target_os = "fuchsia" ,
731
732
target_os = "emscripten" ) ) ] {
732
733
mod musl;
733
734
pub use self :: musl:: * ;
Original file line number Diff line number Diff line change 53
53
pub ai_protocol: :: c_int,
54
54
pub ai_addrlen: socklen_t,
55
55
56
- #[ cfg( any( target_os = "linux" , target_os = "emscripten" ) ) ]
56
+ #[ cfg( any( target_os = "linux" ,
57
+ target_os = "emscripten" ,
58
+ target_os = "fuchsia" ) ) ]
57
59
pub ai_addr: * mut :: sockaddr,
58
60
59
61
pub ai_canonname: * mut c_char,
@@ -858,7 +860,8 @@ extern {
858
860
859
861
cfg_if ! {
860
862
if #[ cfg( any( target_os = "linux" ,
861
- target_os = "emscripten" ) ) ] {
863
+ target_os = "emscripten" ,
864
+ target_os = "fuchsia" ) ) ] {
862
865
mod linux;
863
866
pub use self :: linux:: * ;
864
867
} else if #[ cfg( target_os = "android" ) ] {
You can’t perform that action at this time.
0 commit comments