Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove no-prefer-dynamic from valgrind tests #64067

Merged
merged 1 commit into from
Sep 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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