Use alloc_system as default allocation crate

This commit is contained in:
Jeremy Soller 2016-12-13 18:02:46 -07:00
parent ece703a192
commit f86e014627

View File

@ -40,6 +40,8 @@ pub fn opts() -> TargetOptions {
target_family: Some("redox".to_string()),
linker_is_gnu: true,
no_default_libraries: true,
lib_allocation_crate: "alloc_system".to_string(),
exe_allocation_crate: "alloc_system".to_string(),
has_elf_tls: true,
panic_strategy: PanicStrategy::Abort,
.. Default::default()