auto merge of #7429 : Blei/rust/delete-shared, r=huonw
Mostly just low-haning fruit, i.e. function arguments that were @ even though & would work just as well. Reduces librustc.so size by 200k when compiling without -O, by 100k when compiling with -O.
This commit is contained in:
commit
36527360a6
50 changed files with 388 additions and 427 deletions
|
@ -332,7 +332,7 @@ pub fn find_and_install_dependencies(ctxt: &Ctx,
|
|||
debug!("In find_and_install_dependencies...");
|
||||
let my_workspace = copy *workspace;
|
||||
let my_ctxt = copy *ctxt;
|
||||
for c.each_view_item() |vi: @ast::view_item| {
|
||||
for c.each_view_item() |vi: &ast::view_item| {
|
||||
debug!("A view item!");
|
||||
match vi.node {
|
||||
// ignore metadata, I guess
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue