@@ -16,15 +16,15 @@ fn main() {
1616        metal:  {  all( target_vendor = "apple" ,  feature = "metal" )  } , 
1717        vulkan:  {  any( 
1818            // The `vulkan` feature enables the Vulkan backend only on "native Vulkan" platforms, i.e. Windows/Linux/Android 
19-             all( any( windows,  target_os = "linux" ,  target_os = "android" ) ,  feature = "vulkan" ) , 
19+             all( any( windows,  target_os = "linux" ,  target_os = "android" ,  target_os =  "freebsd" ) ,  feature = "vulkan" ) , 
2020            // On Apple platforms, however, we require the `vulkan-portability` feature 
2121            // to explicitly opt-in to Vulkan since it's meant to be used with MoltenVK. 
2222            all( target_vendor = "apple" ,  feature = "vulkan-portability" ) 
2323        )  } , 
2424        gles:  {  any( 
2525            // The `gles` feature enables the OpenGL/GLES backend only on "native OpenGL" platforms, i.e. Windows, Linux, Android, and Emscripten. 
2626            // (Note that WebGL is also not included here!) 
27-             all( any( windows,  target_os = "linux" ,  target_os = "android" ,  Emscripten ) ,  feature = "gles" ) , 
27+             all( any( windows,  target_os = "linux" ,  target_os = "android" ,  target_os =  "freebsd" ,   Emscripten ) ,  feature = "gles" ) , 
2828            // On Apple platforms, however, we require the `angle` feature to explicitly opt-in to OpenGL 
2929            // since its meant to be used with ANGLE. 
3030            all( target_vendor = "apple" ,  feature = "angle" ) 
0 commit comments