Skip to content

Commit

Permalink
Put metal behind feature toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
FlannyH committed Feb 26, 2024
1 parent 5788bb4 commit d8ae57f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,7 @@ pub mod vulkan;
#[cfg(all(windows, feature = "d3d12"))]
pub mod d3d12;

// todo(lily): add a feature toggle for metal?
#[cfg(any(target_os = "macos", target_os = "ios"))]
#[cfg(all(any(target_os = "macos", target_os = "ios"), feature = "metal"))]
pub mod metal;

#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
Expand Down

0 comments on commit d8ae57f

Please sign in to comment.