aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/lib.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-07-07 15:28:22 +0200
committerSimon Sapin <simon.sapin@exyr.org>2017-07-07 15:28:22 +0200
commit665e9203a100b90ba5e9407fceeab09376d8ca32 (patch)
tree03caaff018d8c2607246b454762655d5538259b5 /components/gfx/lib.rs
parenteec51cdd575cf985bc1ed926c6cb8868f1ba0e0e (diff)
downloadservo-665e9203a100b90ba5e9407fceeab09376d8ca32.tar.gz
servo-665e9203a100b90ba5e9407fceeab09376d8ca32.zip
Upgrade to rustc 1.20.0-nightly (696412de7 2017-07-06)
Diffstat (limited to 'components/gfx/lib.rs')
-rw-r--r--components/gfx/lib.rs6
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)]