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

disable tls with Box::leak test on solaris/illumos. #3675

Closed
wants to merge 1 commit into from
Closed
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
ignore leaks on tls_leak_main_thread_allowed test.
on these platforms, thread_local is disabled as there is no support for cleanup callback, the test is leaking here.
  • Loading branch information
devnexen committed Jun 16, 2024
commit 62f11d1b23df30d012b528a53e35bbbc11b47ed5
2 changes: 2 additions & 0 deletions tests/pass/tls/tls_leak_main_thread_allowed.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//@ignore-target-windows: Windows uses a different mechanism for `thread_local!`
//@revisions: default tls
//@[tls]compile-flags: -Zmiri-ignore-leaks
#![feature(thread_local)]

use std::cell::Cell;
Expand Down