test: Test hitting the dynamic linker in the red zone
This commit is contained in:
parent
3b8bfaf534
commit
a731f165df
4 changed files with 91 additions and 3 deletions
|
@ -273,6 +273,12 @@ debug_ptrcast(type_desc *from_ty,
|
|||
return ptr;
|
||||
}
|
||||
|
||||
extern "C" CDECL void *
|
||||
debug_get_stk_seg() {
|
||||
rust_task *task = rust_scheduler::get_task();
|
||||
return task->stk;
|
||||
}
|
||||
|
||||
extern "C" CDECL rust_vec*
|
||||
rust_list_files(rust_str *path) {
|
||||
rust_task *task = rust_scheduler::get_task();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue