diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-07-27 16:10:59 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-07-27 16:21:15 -0700 |
| commit | cf1ff56f3c8a7a55fa38bcdda3907147d25382a2 (patch) | |
| tree | 29daf941fb2f83ac179a8700aa4d73487812ba0e /src/rt/rust_builtin.c | |
| parent | 3e6b03c2d87a1f54bfde2ea82b1f85aa4df04909 (diff) | |
std: Remove msvc/valgrind headers
These aren't really used for anything any more, so there doesn't seem to be much reason to leave them around in the `rt` directory. There was some limiting of threads spawned or tests when run under valgrind, but very little is run under valgrind nowadays so there's also no real use keeping these around.
Diffstat (limited to 'src/rt/rust_builtin.c')
| -rw-r--r-- | src/rt/rust_builtin.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/rt/rust_builtin.c b/src/rt/rust_builtin.c index 76a3debef59..9a5eaad4243 100644 --- a/src/rt/rust_builtin.c +++ b/src/rt/rust_builtin.c @@ -34,10 +34,6 @@ #endif #endif -/* Foreign builtins. */ -//include valgrind.h after stdint.h so that uintptr_t is defined for msys2 w64 -#include "valgrind/valgrind.h" - char* rust_list_dir_val(struct dirent* entry_ptr) { return entry_ptr->d_name; @@ -118,11 +114,6 @@ rust_get_num_cpus() { return get_num_cpus(); } -uintptr_t -rust_running_on_valgrind() { - return RUNNING_ON_VALGRIND; -} - #if defined(__DragonFly__) #include <errno.h> // In DragonFly __error() is an inline function and as such |
