mirror of
https://github.com/openharmony/third_party_rust_aho-corasick.git
synced 2026-07-01 06:48:28 -04:00
build: fix compilation on i686
It looks like 'cargo fix' didn't quite fix all 'use' statements.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
pub use crate::packed::teddy::compile::Builder;
|
||||
#[cfg(not(target_arch = "x86_64"))]
|
||||
pub use crate::packed::teddy::fallback::Builder;
|
||||
#[cfg(not(target_arch = "x86_64"))]
|
||||
pub use crate::packed::teddy::fallback::Teddy;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
pub use crate::packed::teddy::runtime::Teddy;
|
||||
#[cfg(not(target_arch = "x86_64"))]
|
||||
pub use packed::teddy::fallback::Builder;
|
||||
#[cfg(not(target_arch = "x86_64"))]
|
||||
pub use packed::teddy::fallback::Teddy;
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
mod compile;
|
||||
@@ -14,8 +14,8 @@ mod runtime;
|
||||
|
||||
#[cfg(not(target_arch = "x86_64"))]
|
||||
mod fallback {
|
||||
use packed::pattern::Patterns;
|
||||
use Match;
|
||||
use crate::packed::pattern::Patterns;
|
||||
use crate::Match;
|
||||
|
||||
#[derive(Clone, Debug, Default)]
|
||||
pub struct Builder(());
|
||||
|
||||
Reference in New Issue
Block a user