We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac23035 commit 730636bCopy full SHA for 730636b
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: 8eb336a70512c3781eeebe96ce94c3db639f2efc
+refs/heads/master: 0598635bdcb8316d072351d49d9c8ac04aa82992
trunk/src/lib/unsafe.rs
@@ -4,7 +4,7 @@ native "rust-intrinsic" mod rusti {
4
fn cast<T, U>(src: T) -> U;
5
}
6
7
-native "rust" mod rustrt {
+native "c-stack-cdecl" mod rustrt {
8
fn leak<@T>(-thing: T);
9
10
trunk/src/rt/rust_builtin.cpp
@@ -86,7 +86,7 @@ align_of(type_desc *t) {
86
87
88
extern "C" CDECL void
89
-leak(type_desc *t, void *thing) {
+leak(void *thing) {
90
// Do nothing. Call this with move-mode in order to say "Don't worry rust,
91
// I'll take care of this."
92
0 commit comments