Skip to content

Commit cb16ec9

Browse files
committed
Switch to system allocator
1 parent 1e51b07 commit cb16ec9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/rustup-cli/main.rs

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
1515
#![recursion_limit = "1024"]
1616

17+
use std::alloc::System;
18+
19+
#[global_allocator]
20+
static A: System = System;
21+
1722
#[macro_use]
1823
extern crate error_chain;
1924
extern crate rustup_dist;

0 commit comments

Comments
 (0)