mozilla/rust — pull request #5691 by ILyoan (2013-04-03 06:49:44+00:00)
Title: Decides main name by target

Existing rust code decides main name by host environment of rustc.
I think it should be chosen by build target.

This patch is also removing one of the android hacks that is not necessary any longer(I think it was not necessary from the first).