File tree 4 files changed +8
-8
lines changed 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: e6c3c4e48c6187212b5bb21b5fdb521660b6b510
2
+ refs/heads/master: d624e523c97b0dbcab0f9d1d933e40130dcfa44a
Original file line number Diff line number Diff line change @@ -67,8 +67,7 @@ RUNTIME_CS_$(1) := \
67
67
68
68
RUNTIME_S_$(1 ) := rt/arch/$$(HOST_$(1 ) ) /_context.S \
69
69
rt/arch/$$(HOST_$(1 ) ) /ccall.S \
70
- rt/arch/$$(HOST_$(1 ) ) /morestack.S \
71
- rt/arch/$$(HOST_$(1 ) ) /record_sp.S
70
+ rt/arch/$$(HOST_$(1 ) ) /morestack.S
72
71
73
72
RUNTIME_HDR_$(1 ) := rt/globals.h \
74
73
rt/rust.h \
Original file line number Diff line number Diff line change @@ -106,13 +106,18 @@ L$bail:
106
106
107
107
#ifdef __APPLE__
108
108
109
- .section __IMPORT,__pointers,non_lazy_symbol_pointers
109
+ .section __IMPORT,__pointers,non_lazy_symbol_pointers
110
110
rust_new_stack_sym:
111
111
.indirect_symbol RUST_NEW_STACK
112
112
.long 0
113
113
rust_del_stack_sym:
114
114
.indirect_symbol RUST_DEL_STACK
115
115
.long 0
116
116
117
+ #else
118
+
119
+ rust_new_stack_sym:
120
+ rust_del_stack_sym:
121
+
117
122
#endif
118
123
Original file line number Diff line number Diff line change @@ -13,9 +13,6 @@ DWORD rust_scheduler::task_key;
13
13
14
14
bool rust_scheduler::tls_initialized = false ;
15
15
16
- // Defined in arch/*/record_sp.S.
17
- extern " C" void rust_record_sp (uintptr_t sp);
18
-
19
16
rust_scheduler::rust_scheduler (rust_kernel *kernel,
20
17
rust_srv *srv,
21
18
int id) :
@@ -289,7 +286,6 @@ rust_scheduler::start_main_loop() {
289
286
scheduled_task->state ->name );
290
287
291
288
place_task_in_tls (scheduled_task);
292
- rust_record_sp (scheduled_task->stk ->limit );
293
289
// pthread_setspecific(89, (void *)scheduled_task->stk->limit);
294
290
295
291
interrupt_flag = 0 ;
You can’t perform that action at this time.
0 commit comments