1
Fork 0

core::rt: Use generated port numbers in tests

This commit is contained in:
Brian Anderson 2013-04-20 01:16:06 -07:00
parent 744ba627f3
commit d24a3a4b01
4 changed files with 24 additions and 49 deletions

View file

@ -170,7 +170,7 @@ rust_dbg_extern_identity_TwoDoubles(TwoDoubles u) {
extern "C" CDECL uintptr_t
rust_dbg_next_port() {
static lock_and_signal dbg_port_lock;
static uintptr_t next_port = 9000;
static uintptr_t next_port = 9600;
scoped_lock with(dbg_port_lock);
uintptr_t this_port = next_port;
next_port += 1;