Add export{} syntax to encapsulate things that should be abstract
This commit is contained in:
parent
69ffb4e3ae
commit
a3c31a08e5
3 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@ import std::map;
|
||||||
import syntax::ast;
|
import syntax::ast;
|
||||||
import util::common::*;
|
import util::common::*;
|
||||||
|
|
||||||
export cstore;
|
export cstore::{};
|
||||||
export cnum_map;
|
export cnum_map;
|
||||||
export crate_metadata;
|
export crate_metadata;
|
||||||
export mk_cstore;
|
export mk_cstore;
|
||||||
|
|
|
@ -26,8 +26,8 @@ import task;
|
||||||
|
|
||||||
export send;
|
export send;
|
||||||
export recv;
|
export recv;
|
||||||
export chan;
|
export chan::{};
|
||||||
export port;
|
export port::{};
|
||||||
|
|
||||||
#[abi = "cdecl"]
|
#[abi = "cdecl"]
|
||||||
native mod rustrt {
|
native mod rustrt {
|
||||||
|
|
|
@ -8,7 +8,7 @@ which are not obviously correct for all potential platforms.
|
||||||
export c_int, c_uint, long, longlong, unsigned, ulong, ulonglong;
|
export c_int, c_uint, long, longlong, unsigned, ulong, ulonglong;
|
||||||
export intptr_t, uintptr_t;
|
export intptr_t, uintptr_t;
|
||||||
export uint32_t;
|
export uint32_t;
|
||||||
export void;
|
export void::{};
|
||||||
export c_float, c_double;
|
export c_float, c_double;
|
||||||
export size_t, ssize_t;
|
export size_t, ssize_t;
|
||||||
export off_t, fd_t, pid_t;
|
export off_t, fd_t, pid_t;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue