Skip to content

Commit

Permalink
change conditional compilation flags
Browse files Browse the repository at this point in the history
  • Loading branch information
semaraugusto committed Apr 23, 2024
1 parent 71c2a8d commit d55db96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tokenizers/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ pub(crate) mod cache;
#[cfg(feature = "http")]
pub(crate) mod from_pretrained;

#[cfg(feature = "unstable_wasm")]
#[cfg(feature = "fancy-regex")]
mod fancy;
#[cfg(feature = "unstable_wasm")]
#[cfg(feature = "fancy-regex")]
pub use fancy::SysRegex;
#[cfg(not(feature = "unstable_wasm"))]
#[cfg(feature = "onig")]
mod onig;
#[cfg(not(feature = "unstable_wasm"))]
#[cfg(feature = "onig")]
pub use crate::utils::onig::SysRegex;

pub mod iter;
Expand Down

0 comments on commit d55db96

Please sign in to comment.