Skip to content

Commit 383890b

Browse files
committed
Use alloc_system as default allocation crate
1 parent 717f10e commit 383890b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_back/target/redox_base.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ pub fn opts() -> TargetOptions {
4040
target_family: Some("redox".to_string()),
4141
linker_is_gnu: true,
4242
no_default_libraries: true,
43+
lib_allocation_crate: "alloc_system".to_string(),
44+
exe_allocation_crate: "alloc_system".to_string(),
4345
has_elf_tls: true,
4446
panic_strategy: PanicStrategy::Abort,
4547
.. Default::default()

0 commit comments

Comments
 (0)