Skip to content

Commit aabeba3

Browse files
yichoithestinger
authored andcommitted
extra: unused import fix for android
1 parent d805859 commit aabeba3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/libextra/ebml.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,14 @@ pub mod reader {
8282
use core::cast::transmute;
8383
use core::int;
8484
use core::io;
85-
use core::ptr::offset;
8685
use core::str;
86+
87+
#[cfg(target_arch = "x86")]
88+
#[cfg(target_arch = "x86_64")]
89+
use core::ptr::offset;
90+
91+
#[cfg(target_arch = "x86")]
92+
#[cfg(target_arch = "x86_64")]
8793
use core::unstable::intrinsics::bswap32;
8894

8995
// ebml reading

0 commit comments

Comments
 (0)