test: Use a test extern in various foreign fn tests

This commit is contained in:
Brian Anderson
2013-07-30 20:58:55 -07:00
parent 912d806d32
commit 11fc1fd485
9 changed files with 18 additions and 12 deletions

View File

@@ -176,3 +176,8 @@ rust_dbg_next_port(uintptr_t base_port) {
next_offset += 1;
return this_port;
}
extern "C" CDECL intptr_t
rust_get_test_int() {
return 1;
}