Skip to content

Commit e7b006d

Browse files
committed
In order to successfully build, go back to ralloc
1 parent 7d3ae87 commit e7b006d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_back/target/redox_base.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +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(),
43+
lib_allocation_crate: "ralloc".to_string(),
44+
exe_allocation_crate: "ralloc".to_string(),
4545
has_elf_tls: true,
4646
panic_strategy: PanicStrategy::Abort,
4747
.. Default::default()

0 commit comments

Comments
 (0)