Skip to content

Commit

Permalink
Fix: cfg_ifの書き方を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Sep 16, 2023
1 parent bcaf6a2 commit 2d8cd62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/voicevox_core/src/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use tracing::error;
mod model_file;

cfg_if! {
if #[cfg(not(feature="directml", feature="coreml"))] {
if #[cfg(not(feature="directml"))] && #[cfg(not(feature="coreml"))] {
use onnxruntime::CudaProviderOptions;
} else if #[cfg(feature="coreml")] {
use onnxruntime::CoreMLProviderOptions;
Expand Down

0 comments on commit 2d8cd62

Please sign in to comment.