mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Make usage of simd in gfx optional
This commit is contained in:
parent
5e72173e8c
commit
d9a311963f
4 changed files with 12 additions and 4 deletions
|
@ -3,8 +3,8 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// For SIMD
|
||||
#![cfg_attr(feature = "unstable", feature(cfg_target_feature))]
|
||||
#![cfg_attr(any(target_os = "linux", target_os = "android"), feature(allocator_api))]
|
||||
#![feature(cfg_target_feature)]
|
||||
|
||||
#![deny(unsafe_code)]
|
||||
|
||||
|
@ -53,6 +53,7 @@ extern crate servo_arc;
|
|||
extern crate servo_geometry;
|
||||
extern crate servo_url;
|
||||
#[macro_use] extern crate servo_atoms;
|
||||
#[cfg(feature = "unstable")]
|
||||
#[cfg(any(target_feature = "sse2", target_feature = "neon"))]
|
||||
extern crate simd;
|
||||
extern crate smallvec;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue