Skip to content

Commit

Permalink
auto merge of rust-lang#10439 : brson/rust/rmcxx, r=bstrie
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Nov 12, 2013
2 parents 11b0784 + 6b6f89b commit 2ee72ba
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 141 deletions.
11 changes: 10 additions & 1 deletion src/rt/rust_builtin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

/* Foreign builtins. */

#include "rust_util.h"
#include "sync/lock_and_signal.h"
#include "vg/valgrind.h"

Expand Down Expand Up @@ -234,6 +233,16 @@ precise_time_ns(uint64_t *ns) {
#endif
}

struct
rust_vec
{
size_t fill; // in bytes; if zero, heapified
size_t alloc; // in bytes
uint8_t data[0];
};

typedef rust_vec rust_str;

struct rust_tm {
int32_t tm_sec;
int32_t tm_min;
Expand Down
1 change: 0 additions & 1 deletion src/rt/rust_test_helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

// Helper functions used only in tests

#include "rust_util.h"
#include "sync/lock_and_signal.h"

// These functions are used in the unit tests for C ABI calls.
Expand Down
81 changes: 0 additions & 81 deletions src/rt/rust_type.h

This file was deleted.

1 change: 0 additions & 1 deletion src/rt/rust_upcall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/

#include "rust_globals.h"
#include "rust_util.h"

//Unwinding ABI declarations.
typedef int _Unwind_Reason_Code;
Expand Down
57 changes: 0 additions & 57 deletions src/rt/rust_util.h

This file was deleted.

0 comments on commit 2ee72ba

Please sign in to comment.