Skip to content

Commit 656a8d1

Browse files
committed
---
yaml --- r: 5183 b: refs/heads/master c: bd2ec03 h: refs/heads/master i: 5181: 85879b7 5179: b4fa7b9 5175: 979643d 5167: b7069b4 5151: 503b172 5119: ab4679a v: v3
1 parent 68ebfb0 commit 656a8d1

File tree

3 files changed

+1
-26
lines changed

3 files changed

+1
-26
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: e57435f68baacb2a802703c6720c689a2126714b
2+
refs/heads/master: bd2ec03771fcc589772a0b42ff9a76ec81e0f993

trunk/src/rt/rust_upcall.cpp

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,6 @@ upcall_grow_task(rust_task *task, size_t n_frame_bytes) {
2727
task->grow(n_frame_bytes);
2828
}
2929

30-
extern "C" CDECL
31-
void upcall_log_int(rust_task *task, uint32_t level, int32_t i) {
32-
LOG_UPCALL_ENTRY(task);
33-
if (task->sched->log_lvl >= level)
34-
task->sched->log(task, level, "rust: %" PRId32 " (0x%" PRIx32 ")",
35-
i, i);
36-
}
37-
38-
extern "C" CDECL
39-
void upcall_log_float(rust_task *task, uint32_t level, float f) {
40-
LOG_UPCALL_ENTRY(task);
41-
if (task->sched->log_lvl >= level)
42-
task->sched->log(task, level, "rust: %12.12f", f);
43-
}
44-
45-
extern "C" CDECL
46-
void upcall_log_double(rust_task *task, uint32_t level, double *f) {
47-
LOG_UPCALL_ENTRY(task);
48-
if (task->sched->log_lvl >= level)
49-
task->sched->log(task, level, "rust: %12.12f", *f);
50-
}
51-
5230
extern "C" CDECL void
5331
upcall_yield(rust_task *task) {
5432
LOG_UPCALL_ENTRY(task);

trunk/src/rt/rustrt.def.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ upcall_grow_task
7979
upcall_vec_grow
8080
upcall_vec_push
8181
upcall_kill
82-
upcall_log_double
83-
upcall_log_float
84-
upcall_log_int
8582
upcall_log_type
8683
upcall_malloc
8784
upcall_shared_malloc

0 commit comments

Comments
 (0)