Skip to content

Commit

Permalink
Rollup merge of rust-lang#64067 - Mark-Simulacrum:valgrind-dyn, r=ale…
Browse files Browse the repository at this point in the history
…xcrichton

Remove no-prefer-dynamic from valgrind tests

This seems to be working locally.

Resolves rust-lang#31968
  • Loading branch information
Centril authored Sep 6, 2019
2 parents b0dfc8a + 0c9aeba commit e618135
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 17 deletions.
2 changes: 0 additions & 2 deletions src/test/run-pass-valgrind/cast-enum-with-dtor.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// no-prefer-dynamic

#![allow(dead_code)]

// check dtor calling order when casting enums.
Expand Down
2 changes: 0 additions & 2 deletions src/test/run-pass-valgrind/cleanup-auto-borrow-obj.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// no-prefer-dynamic

// This would previously leak the Box<Trait> because we wouldn't
// schedule cleanups when auto borrowing trait objects.
// This program should be valgrind clean.
Expand Down
2 changes: 0 additions & 2 deletions src/test/run-pass-valgrind/cleanup-stdin.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// no-prefer-dynamic

fn main() {
let _ = std::io::stdin();
let _ = std::io::stdout();
Expand Down
1 change: 0 additions & 1 deletion src/test/run-pass-valgrind/down-with-thread-dtors.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// no-prefer-dynamic
// ignore-emscripten

thread_local!(static FOO: Foo = Foo);
Expand Down
2 changes: 0 additions & 2 deletions src/test/run-pass-valgrind/dst-dtor-1.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// no-prefer-dynamic

static mut DROP_RAN: bool = false;

struct Foo;
Expand Down
2 changes: 0 additions & 2 deletions src/test/run-pass-valgrind/dst-dtor-2.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// no-prefer-dynamic

static mut DROP_RAN: isize = 0;

struct Foo;
Expand Down
2 changes: 0 additions & 2 deletions src/test/run-pass-valgrind/dst-dtor-3.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// no-prefer-dynamic

#![feature(unsized_tuple_coercion)]

static mut DROP_RAN: bool = false;
Expand Down
2 changes: 0 additions & 2 deletions src/test/run-pass-valgrind/dst-dtor-4.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// no-prefer-dynamic

#![feature(unsized_tuple_coercion)]

static mut DROP_RAN: isize = 0;
Expand Down
1 change: 0 additions & 1 deletion src/test/run-pass-valgrind/exit-flushes.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// no-prefer-dynamic
// ignore-cloudabi
// ignore-emscripten
// ignore-sgx no processes
Expand Down
1 change: 0 additions & 1 deletion src/test/run-pass-valgrind/osx-frameworks.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// no-prefer-dynamic
// pretty-expanded FIXME #23616

#![feature(rustc_private)]
Expand Down

0 comments on commit e618135

Please sign in to comment.