mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-05 11:33:04 +00:00
test: Fix a spuriously failing test on valgrind
It's unclear to me whether this test failing under valgrind is actually legit. The test only fails in valgrind when everything is dynamically linked, and it appears to work when statically linked. For now just add the `// no-prefer-dynamic` directive and let's just chalk it up to a weird valgrind issue. Closes #31328
This commit is contained in:
parent
28a3e8bb51
commit
595d5b2faf
@ -8,6 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// no-prefer-dynamic
|
||||
|
||||
thread_local!(static FOO: Foo = Foo);
|
||||
thread_local!(static BAR: Bar = Bar(1));
|
||||
thread_local!(static BAZ: Baz = Baz);
|
||||
|
Loading…
Reference in New Issue
Block a user