469f394b25
To achieve this, the following changes were made: * Move TyDesc, TyVisitor and Opaque to std::unstable::intrinsics * Convert TyDesc, TyVisitor and Opaque to lang items instead of specially handling the intrinsics module * Removed TypeDesc, FreeGlue and get_type_desc() from sys Fixes #3475.
9 lines
88 B
Rust
9 lines
88 B
Rust
use std::libc;
|
|
|
|
extern {
|
|
pub unsafe fn free(p: *libc::c_void);
|
|
}
|
|
|
|
pub fn main() {
|
|
}
|