Skip to content

Commit

Permalink
fix: Do not expose hex_check_see on non-supported platform
Browse files Browse the repository at this point in the history
  • Loading branch information
xxuejie committed Sep 10, 2019
1 parent 4b1fd6b commit 3e1cc75
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ mod decode;
mod encode;
mod error;
pub use crate::decode::{
hex_check_fallback, hex_check_sse, hex_decode, hex_decode_fallback, hex_decode_unchecked,
hex_check_fallback, hex_decode, hex_decode_fallback, hex_decode_unchecked,
};
pub use crate::encode::{hex_encode, hex_encode_fallback, hex_string, hex_to};

#[cfg(any(target_arch = "x86", target_arch = "x86_64", feature = "sse4.1"))]
pub use crate::decode::hex_check_sse;

#[cfg(test)]
mod tests {
use crate::decode::hex_decode;
Expand Down

0 comments on commit 3e1cc75

Please sign in to comment.