mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Use heap API from std rather than the alloc crate
This commit is contained in:
parent
612dbb868d
commit
db1a3e54b0
2 changed files with 2 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// For SIMD
|
||||
#![cfg_attr(any(target_os = "linux", target_os = "android"), feature(alloc, allocator_api))]
|
||||
#![cfg_attr(any(target_os = "linux", target_os = "android"), feature(allocator_api))]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(cfg_target_feature)]
|
||||
#![feature(range_contains)]
|
||||
|
@ -11,9 +11,6 @@
|
|||
|
||||
#![deny(unsafe_code)]
|
||||
|
||||
#[cfg(any(target_os = "linux", target_os = "android"))]
|
||||
extern crate alloc;
|
||||
|
||||
extern crate app_units;
|
||||
#[macro_use]
|
||||
extern crate bitflags;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue