From 07f213cb87120570484812aaf4faf217414a4110 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Mon, 16 May 2016 11:45:20 -0700 Subject: Fix unused item warning on 32-bit platforms --- components/gfx/text/glyph.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'components/gfx/text') diff --git a/components/gfx/text/glyph.rs b/components/gfx/text/glyph.rs index 3f32b248c43..a41202eb3a2 100644 --- a/components/gfx/text/glyph.rs +++ b/components/gfx/text/glyph.rs @@ -72,6 +72,7 @@ pub type GlyphId = u32; // TODO: make this more type-safe. const FLAG_CHAR_IS_SPACE: u32 = 0x40000000; +#[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))] const FLAG_CHAR_IS_SPACE_SHIFT: u32 = 30; const FLAG_IS_SIMPLE_GLYPH: u32 = 0x80000000; -- cgit v1.2.3