2017-06-03 14:54:08 -07:00
|
|
|
//@ aux-build:system-allocator.rs
|
2016-04-26 10:51:14 -07:00
|
|
|
//@ no-prefer-dynamic
|
|
|
|
|
|
2017-06-03 14:54:08 -07:00
|
|
|
extern crate system_allocator;
|
|
|
|
|
|
2018-04-14 16:47:38 +09:00
|
|
|
use std::alloc::System;
|
2017-06-03 14:54:08 -07:00
|
|
|
|
|
|
|
|
#[global_allocator]
|
|
|
|
|
static A: System = System;
|
|
|
|
|
|
|
|
|
|
fn main() {}
|
2025-03-29 02:41:32 +03:00
|
|
|
|
|
|
|
|
//~? ERROR the `#[global_allocator]` in this crate conflicts with global allocator in: system_allocator
|