diff options
Diffstat (limited to 'components/gfx/lib.rs')
-rw-r--r-- | components/gfx/lib.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/components/gfx/lib.rs b/components/gfx/lib.rs index 10ba03c0dbc..c4418860278 100644 --- a/components/gfx/lib.rs +++ b/components/gfx/lib.rs @@ -3,11 +3,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // For SIMD -#![feature(cfg_target_feature)] -#![cfg_attr(any(target_os = "linux", target_os = "android"), feature(heap_api))] - -#![cfg_attr(any(target_os = "linux", target_os = "android"), feature(alloc))] +#![cfg_attr(any(target_os = "linux", target_os = "android"), feature(alloc, allocator_api))] #![feature(box_syntax)] +#![feature(cfg_target_feature)] #![feature(range_contains)] #![feature(unique)] |