Skip to content

Commit b9babe4

Browse files
committed
Temporarily disable dtors; they broke self-hosting.
1 parent 1acf404 commit b9babe4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/comp/middle/trans.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,9 @@ fn make_drop_glue(@block_ctxt cx, ValueRef v0, ty.t t) {
19191919
C_int(abi.obj_body_elt_tydesc)));
19201920
auto tydesc = cx.build.Load(tydescptr);
19211921

1922-
auto cx_ = maybe_call_dtor(cx, o);
1922+
// FIXME: disabled for now.
1923+
// auto cx_ = maybe_call_dtor(cx, o);
1924+
auto cx_ = cx;
19231925

19241926
// Call through the obj's own fields-drop glue first.
19251927
call_tydesc_glue_full(cx_, body, tydesc,

0 commit comments

Comments
 (0)