This measure is simply to allow programs to continue compiling as they once did.
In the future, this needs a more robust solution to choose how to start with
libgreen or libnative.
}];
if use_uv(&crate) && !*self.sess.building_library {
+ vis.push(ast::view_item {
+ node: ast::view_item_extern_mod(self.sess.ident_of("green"),
+ None,
+ ~[vers_item],
+ ast::DUMMY_NODE_ID),
+ attrs: ~[],
+ vis: ast::private,
+ span: dummy_sp()
+ });
vis.push(ast::view_item {
node: ast::view_item_extern_mod(self.sess.ident_of("rustuv"),
None,