Support for passing native types through metadata/creader.
This commit is contained in:
parent
2a2ea6351d
commit
0397c05f42
2 changed files with 5 additions and 1 deletions
|
|
@ -6211,7 +6211,9 @@ fn collect_native_item(&@crate_ctxt cx, @ast.native_item i) -> @crate_ctxt {
|
|||
decl_native_fn_and_pair(cx, name, ann, fid);
|
||||
}
|
||||
}
|
||||
case (_) { /* fall through */ }
|
||||
case (ast.native_item_ty(_, ?tid)) {
|
||||
cx.native_items.insert(tid, i);
|
||||
}
|
||||
}
|
||||
ret cx;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue