Skip to content

Commit d02b3df

Browse files
olsonjefferybrson
authored andcommitted
std: reworking how some net and libuv modules are exported in the rc
.. turns out that, without the export, the modules aren't accessible outside of the crate, itself. I thought that, by importing some module into another (nesting it) and exporting from that nested module (which is, itself, exported from std.rc) that my mod would be in the build artifact. This doesn't appear to be the case. learning is fun!
1 parent 8769409 commit d02b3df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libstd/std.rc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
use core(vers = "0.2");
1414
import core::*;
1515

16-
export net, uv;
16+
export net, net_tcp;
17+
export uv, uv_ll, uv_hl, uv_global_loop;
1718
export c_vec, util, timer;
1819
export bitv, deque, fun_treemap, list, map, smallintmap, sort, treemap;
1920
export rope, arena;

0 commit comments

Comments
 (0)