Skip to content

Commit 730636b

Browse files
nikomatsakisbrson
authored andcommitted
---
yaml --- r: 5942 b: refs/heads/master c: 0598635 h: refs/heads/master v: v3
1 parent ac23035 commit 730636b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-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: 8eb336a70512c3781eeebe96ce94c3db639f2efc
2+
refs/heads/master: 0598635bdcb8316d072351d49d9c8ac04aa82992

trunk/src/lib/unsafe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ native "rust-intrinsic" mod rusti {
44
fn cast<T, U>(src: T) -> U;
55
}
66

7-
native "rust" mod rustrt {
7+
native "c-stack-cdecl" mod rustrt {
88
fn leak<@T>(-thing: T);
99
}
1010

trunk/src/rt/rust_builtin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ align_of(type_desc *t) {
8686
}
8787

8888
extern "C" CDECL void
89-
leak(type_desc *t, void *thing) {
89+
leak(void *thing) {
9090
// Do nothing. Call this with move-mode in order to say "Don't worry rust,
9191
// I'll take care of this."
9292
}

0 commit comments

Comments
 (0)