diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2016-05-16 11:45:20 -0700 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2016-05-16 11:45:27 -0700 |
commit | 07f213cb87120570484812aaf4faf217414a4110 (patch) | |
tree | d9033df98a46a60b05f30772fc6de42f03957e44 | |
parent | eaf4c5e5c50e02009b2b76488fd31cfa6b00b73a (diff) | |
download | servo-07f213cb87120570484812aaf4faf217414a4110.tar.gz servo-07f213cb87120570484812aaf4faf217414a4110.zip |
Fix unused item warning on 32-bit platforms
-rw-r--r-- | components/gfx/text/glyph.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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; |