File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1919//
2020// On Linux, librt and libdl are indirect dependencies via std,
2121// and binutils 2.22+ won't add them automatically
22- #[ cfg( all( target_os = "linux" , not( any ( target_env = "musl" ) ) ) ) ]
22+ #[ cfg( all( target_os = "linux" , not( target_env = "musl" ) ) ) ]
2323#[ link( name = "dl" ) ]
2424#[ link( name = "pthread" ) ]
2525extern { }
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ impl Drop for Thread {
171171 }
172172}
173173
174- #[ cfg( all( not( all( target_os = "linux" , not( any ( target_env = "musl" ) ) ) ) ,
174+ #[ cfg( all( not( all( target_os = "linux" , not( target_env = "musl" ) ) ) ,
175175 not( target_os = "freebsd" ) ,
176176 not( target_os = "macos" ) ,
177177 not( target_os = "bitrig" ) ,
@@ -185,7 +185,7 @@ pub mod guard {
185185}
186186
187187
188- #[ cfg( any( all( target_os = "linux" , not( any ( target_env = "musl" ) ) ) ,
188+ #[ cfg( any( all( target_os = "linux" , not( target_env = "musl" ) ) ,
189189 target_os = "freebsd" ,
190190 target_os = "macos" ,
191191 target_os = "bitrig" ,
You can’t perform that action at this time.
0 commit comments