Add start functions, switch allocation crate to ralloc
This commit is contained in:
parent
3e7543a16e
commit
773a0a2edb
3 changed files with 85 additions and 5 deletions
|
|
@ -40,8 +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(),
|
||||
lib_allocation_crate: "ralloc".to_string(),
|
||||
exe_allocation_crate: "ralloc".to_string(),
|
||||
has_elf_tls: true,
|
||||
panic_strategy: PanicStrategy::Abort,
|
||||
.. Default::default()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue