Change:
I was trying to build the stdlibs for the target like this: However, the build fails with the following error: Here is the full build log: I'm using Xubuntu 15.10. At the time of building, the Rust master was at .
Unfortunately is a which means that we don't guarantee that it builds in-tree right now. Patches are certainly welcome to fix this, however! We tend to not keep issues tracking build support for all Tier 3 platforms, however, so I'm going to close this. If you're interested in promoting this to at least tier 2 you could also help modify out to be able to support this target!

Discussion:
import front.ast.stmt; import front.ast.block; import front.ast.item; <ins> import front.ast.view_item; import front.ast.meta_item; </ins> import front.ast.arg; import front.ast.pat; import front.ast.decl;

vec[ast.ty_param] ty_params, def_id id, ann a) -> @item)              fold_item_obj, <ins> // View Item folds. (fn(&ENV e, &span sp, ident ident, vec[@meta_item] meta_items, def_id id) -> @view_item)                fold_view_item_use, (fn(&ENV e, &span sp, vec[ident] idents, def_id id) -> @view_item)                fold_view_item_import, </ins> // Additional nodes. (fn(&ENV e, &span sp, &ast.block_) -> block)                   fold_block,

// Env updates. (fn(&ENV e, @ast.crate c) -> ENV) update_env_for_crate, (fn(&ENV e, @item i) -> ENV) update_env_for_item, <ins> (fn(&ENV e, @view_item i) -> ENV) update_env_for_view_item, </ins> (fn(&ENV e, &block b) -> ENV) update_env_for_block, (fn(&ENV e, @stmt s) -> ENV) update_env_for_stmt, (fn(&ENV e, @decl i) -> ENV) update_env_for_decl,

ret fld.fold_obj(env, fields, meths); } <ins> fn fold_view_item[ENV](&ENV env, ast_fold[ENV] fld, @view_item vi) -> @view_item { let ENV env_ = fld.update_env_for_view_item(env, vi); if (!fld.keep_going(env_)) { ret vi; } alt (vi.node) { case (ast.view_item_use(?ident, ?meta_items, ?def_id)) { // FIXME: what other folding should be done in here? ret fld.fold_view_item_use(env_, vi.span, ident, meta_items, def_id); } case (ast.view_item_import(?idents, ?def_id)) { // FIXME: what other folding should be done in here? ret fld.fold_view_item_import(env_, vi.span, idents, def_id); } } fail; } </ins> fn fold_item[ENV](&ENV env, ast_fold[ENV] fld, @item i) -> @item { let ENV env_ = fld.update_env_for_item(env, i);

fn fold_mod[ENV](&ENV e, ast_fold[ENV] fld, &ast._mod m) -> ast._mod { <ins> let vec[@view_item] view_items = vec(); </ins> let vec[@item] items = vec(); <ins> auto index = m.index; </ins> for (@item i in m.items) { append[@item](items, fold_item[ENV](e, fld, i)); } <del> ret fld.fold_mod(e, rec(items=items with m)); </del> <ins> for (@view_item vi in m.view_items) { append[@view_item](view_items, fold_view_item[ENV](e, fld, vi)); } ret fld.fold_mod(e, rec(view_items=view_items, items=items, index=index)); </ins> } fn fold_crate[ENV](&ENV env, ast_fold[ENV] fld, @ast.crate c) -> @ast.crate {

ret @respan(sp, ast.item_obj(i, ob, ty_params, id, a)); } <ins> // View Item folds. fn identity_fold_view_item_use[ENV](&ENV e, &span sp, ident i, vec[@meta_item] meta_items, def_id id) -> @view_item { ret @respan(sp, ast.view_item_use(i, meta_items, id)); } fn identity_fold_view_item_import[ENV](&ENV e, &span sp, vec[ident] is, def_id id) -> @view_item { ret @respan(sp, ast.view_item_import(is, id)); } </ins> // Additional identities.

ret e; } <ins> fn identity_update_env_for_view_item[ENV](&ENV e, @view_item i) -> ENV { ret e; } </ins> fn identity_update_env_for_block[ENV](&ENV e, &block b) -> ENV { ret e; }

fold_item_tag  = bind identity_fold_item_tag[ENV](_,_,_,_,_,_), fold_item_obj  = bind identity_fold_item_obj[ENV](_,_,_,_,_,_,_), <ins> fold_view_item_use = bind identity_fold_view_item_use[ENV](_,_,_,_,_), fold_view_item_import = bind identity_fold_view_item_import[ENV](_,_,_,_), </ins> fold_block = bind identity_fold_block[ENV](_,_,_), fold_fn = bind identity_fold_fn[ENV](_,_,_,_,_), fold_mod = bind identity_fold_mod[ENV](_,_),

update_env_for_crate = bind identity_update_env_for_crate[ENV](_,_), update_env_for_item = bind identity_update_env_for_item[ENV](_,_), <ins> update_env_for_view_item = bind identity_update_env_for_view_item[ENV](_,_), </ins> update_env_for_block = bind identity_update_env_for_block[ENV](_,_), update_env_for_stmt = bind identity_update_env_for_stmt[ENV](_,_), update_env_for_decl = bind identity_update_env_for_decl[ENV](_,_),