@@ -28,36 +28,54 @@ pub use mac::*;
2828#[ cfg( target_os = "macos" ) ]
2929pub ( crate ) mod shared;
3030
31- #[ cfg( all( feature = "x11" , any( target_os = "linux" , target_os = "openbsd" ) ) ) ]
31+ #[ cfg( all(
32+ feature = "x11" ,
33+ any( target_os = "freebsd" , target_os = "linux" , target_os = "openbsd" )
34+ ) ) ]
3235mod x11;
33- #[ cfg( all( feature = "x11" , any( target_os = "linux" , target_os = "openbsd" ) ) ) ]
36+ #[ cfg( all(
37+ feature = "x11" ,
38+ any( target_os = "freebsd" , target_os = "linux" , target_os = "openbsd" )
39+ ) ) ]
3440pub use x11:: * ;
35- #[ cfg( all( feature = "x11" , any( target_os = "linux" , target_os = "openbsd" ) ) ) ]
41+ #[ cfg( all(
42+ feature = "x11" ,
43+ any( target_os = "freebsd" , target_os = "linux" , target_os = "openbsd" )
44+ ) ) ]
3645pub ( crate ) mod shared;
3746
38- #[ cfg( all( feature = "wayland" , any( target_os = "linux" , target_os = "openbsd" ) ) ) ]
47+ #[ cfg( all(
48+ feature = "wayland" ,
49+ any( target_os = "freebsd" , target_os = "linux" , target_os = "openbsd" )
50+ ) ) ]
3951mod wayland;
40- #[ cfg( all( feature = "wayland" , any( target_os = "linux" , target_os = "openbsd" ) ) ) ]
52+ #[ cfg( all(
53+ feature = "wayland" ,
54+ any( target_os = "freebsd" , target_os = "linux" , target_os = "openbsd" )
55+ ) ) ]
4156pub use wayland:: * ;
42- #[ cfg( all( feature = "wayland" , any( target_os = "linux" , target_os = "openbsd" ) ) ) ]
57+ #[ cfg( all(
58+ feature = "wayland" ,
59+ any( target_os = "freebsd" , target_os = "linux" , target_os = "openbsd" )
60+ ) ) ]
4361pub ( crate ) mod shared;
4462
4563#[ cfg( all(
4664 not( feature = "x11" ) ,
4765 not( feature = "wayland" ) ,
48- any( target_os = "linux" , target_os = "openbsd" )
66+ any( target_os = "freebsd" , target_os = " linux", target_os = "openbsd" )
4967) ) ]
5068mod gtk;
5169#[ cfg( all(
5270 not( feature = "x11" ) ,
5371 not( feature = "wayland" ) ,
54- any( target_os = "linux" , target_os = "openbsd" )
72+ any( target_os = "freebsd" , target_os = " linux", target_os = "openbsd" )
5573) ) ]
5674pub use self :: gtk:: * ;
5775#[ cfg( all(
5876 not( feature = "x11" ) ,
5977 not( feature = "wayland" ) ,
60- any( target_os = "linux" , target_os = "openbsd" )
78+ any( target_os = "freebsd" , target_os = " linux", target_os = "openbsd" )
6179) ) ]
6280pub ( crate ) mod shared;
6381
0 commit comments