blob: 6efb297054bca4e620a44c6291fa6253bc25f27c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//@ aux-build:system-allocator.rs
//@ no-prefer-dynamic
extern crate system_allocator;
use std::alloc::System;
#[global_allocator]
static A: System = System;
fn main() {}
//~? ERROR the `#[global_allocator]` in this crate conflicts with global allocator in: system_allocator
|