rust-lang/cargo — pull request #247 by alexcrichton (2014-07-23 00:56:15+00:00)
Title: Fix crates with the same name as standard crates

The test and bin executables weren't getting the correct --extern flags when
tested and built, so the names were conflicting. This passes --extern for the
local crate to ensure the right crate is picked up.