mk: tests.mk simplify the method to clean arm testing directory
etc: modify adb_run_wrapper.sh to avoid 'expr' unrecognization at some android devices
etc: add TEST_EXEC_ENV for run-pass to adb_run_wrapper.sh
test: adjust some test cases of run-pass for android
std: fix stat struct of android (SEGV error from run-pass/stat.rs on android)
rt: fix jemalloc android cross-compile for mac
Support printf formats in terminfo strings

terminfo parameterized strings supports a limited subset of printf-style
formatting operations, such as %#5.3d.
Cleanup src/librustc/back
auto merge of #7128 : yichoi/rust/fix_sometc, r=brson

- Fix stat struct for Android (found by SEGV at run-pass/stat.rs)
- Adjust some test cases to rpass for Android 
- Modify some script to rpass for Android
Avoid unnecessary scratch datums for by-copy function arguments

Currently, by-copy function arguments are always stored into a scratch
datum, which serves two purposes.  First, it is required to be able to
have a temporary cleanup, in case that the call fails before the callee
actually takes ownership of the value. Second, if the argument is to be
passed by reference, the copy is required, so that the function doesn't
get a reference to the original value.

But in case that the datum does not need a drop glue call and it is
passed by value, there's no need to perform the extra copy.
Get cross crate default methods working.

This fixes the large number of problems that prevented cross crate
methods from ever working. It also fixes a couple lingering bugs with
polymorphic default methods and cleans up some of the code paths.

Closes #4102. Closes #4103.
auto merge of #7161 : kballard/rust/terminfo-parm-format, r=thestinger

Introduce support for terminfo's subset of printf-style formatting on doxXs operations.

r? @thestinger
auto merge of #7203 : msullivan/rust/default-methods, r=graydon

This fixes the large number of problems that prevented cross crate
methods from ever working. It also fixes a couple lingering bugs with
polymorphic default methods and cleans up some of the code paths.

Closes #4102. Closes #4103.

r? nikomatsakis
vec: remove each_const

An Iterator implementation can be made for &const [T] if it turns out
to be necessary for some use case.
vec: remove eachi

replaced by the `enumerate` method from std::iterator
vec: rm old_iter implementations, except BaseIter

The removed test for issue #2611 is well covered by the `std::iterator`
module itself.

This adds the `count` method to `IteratorUtil` to replace `EqIter`.
vec: replace `position` with `iter().position_`
replace vec::find with the IteratorUtil method
auto merge of #7263 : thestinger/rust/iterator, r=graydon
auto merge of #7200 : yichoi/rust/fix_je_mac_cross, r=brson

while cross-compiling, ar in cross toolchains are required. 
linux is not sensitive so could not see errors.