Skip to content

Commit a8e7ebb

Browse files
committed
---
yaml --- r: 6700 b: refs/heads/master c: 35fe86d h: refs/heads/master v: v3
1 parent a8a7a66 commit a8e7ebb

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
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: 1869306a7e3d94aaf474b6f27671d3844db088a1
2+
refs/heads/master: 35fe86dab74254cf4b74a4e28506fa84d81871e2

trunk/src/rt/memory_region.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
//
1616
// 0 --- no headers, no debugging support
1717
// 1 --- support poison, but do not track allocations
18-
// 2 --- track allocations in deatil
18+
// 2 --- track allocations in detail
1919
//
2020
// NB: please do not commit code with level 2. It's
2121
// hugely expensive and should only be used as a last resort.

trunk/src/rt/rust_upcall.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ void upcall_s_clone_type_desc(s_clone_type_desc_args *args)
224224
* Called to deep-clone type descriptors so they can be attached to a sendable
225225
* function. Eventually this should perhaps move to a centralized hashtable.
226226
*/
227-
type_desc *
227+
extern "C" CDECL type_desc *
228228
upcall_clone_type_desc(type_desc *td) {
229229
s_clone_type_desc_args args = { td, 0 };
230230
SWITCH_STACK(&args, upcall_s_clone_type_desc);

trunk/src/rt/rustrt.def.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ upcall_dynastack_free
5858
upcall_dynastack_mark
5959
upcall_fail
6060
upcall_free
61+
upcall_clone_type_desc
6162
upcall_get_type_desc
6263
upcall_log_type
6364
upcall_malloc

0 commit comments

Comments
 (0)