std: Remove PortSet. Not supported by new scheduler. Replace uses with SharedChan.
test: add more codegen tests, add copyright headers to all.
mk/tests.mk: fix typo "srcrustllvm"
mk/tests.mk: remove mention of nonexistent files
test: Disable morestack tests

The new scheduler does not yet implement split stacks
extra: Remove dbg module and rt support code

This stuff is ancient, unused, and tied to oldsched
Resolve globals having different addresses across crates

* All globals marked as `pub` won't have the `internal` linkage type set
* All global references across crates are forced to use the address of the
  global in the other crate via an external reference.
syntax: implement cfg!() which evaluates to true/false where #[cfg] would keep/remove.

Example:

   if cfg!(test) {
      calculation_to_run_only_when_testing();
   }
auto merge of #8164 : brson/rust/noportset, r=pcwalton

...haredChan.
std: Use `do` blocks instead of `for` with .iter_bytes()
extra: Use `do` instead of `for` in extra::iter
std: Replace `for` with `do { .. }` expr where internal iterators are used
extra: Replace `for` with `do { .. }` expr where internal iterators are used
extra: Use external iterators in bitv implementation

Convert some internally used functions to use a external iterators.

Change all uses of remaining internal iterators to use `do` expr
std: Remove the internal iterator methods from trait Set

.intersection(), .union() etc methods in trait std::container::Set use
internal iters. Remove these methods from the trait.

I reported issue #8154 for the reinstatement of iterator-based set algebra
methods to the Set trait.

For bitv and treemap, that lack Iterator implementations of set
operations, preserve them as methods directly on the types themselves.

For HashSet, these methods are replaced by the present .union_iter()
etc.
std: Replace `for` with `do { .. }` expr in std::gc

Change all users of old-style for with internal iterators to using
`do`-loops.

The code in stackwalk.rs does not actually implement the
looping protocol (no break on return false).

The code in gc.rs does not use loop breaks, nor does any code using it.

We remove the capacity to break from the loops in std::gc and implement
the walks using `do { .. }` expressions.

No behavior change.
std: Change `Times` trait to use `do` instead of `for`

Change the former repetition::

    for 5.times { }

to::

    do 5.times { }

.times() cannot be broken with `break` or `return` anymore; for those
cases, use a numerical range loop instead.
auto merge of #8165 : graydon/rust/2013-07-31-new-codegen-tests, r=brson

r? @pcwalton or someone
auto merge of #8166 : emillon/rust/clean-tests-mk, r=brson

Hello,

While looking at `tests.mk` I noticed two errors:

  - there's a `srcrustllvm` instead of `src/rustllvm`
  - some filtered out files don't exist anymore

These two commits fix these issues. Thanks!
rustc: add a lint for `for`, suggesting `foreach` or `do`.

This is just to aid the transistion to the new `for` loop, by
pointing at each location where the old one occurs.