Skip to content

Commit e611211

Browse files
committed
add __cxa_thread_atexit_impl on freebsd
1 parent cba1fdb commit e611211

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/miri/src/shims/extern_static.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ impl<'mir, 'tcx> MiriMachine<'mir, 'tcx> {
4949
);
5050
}
5151
"freebsd" => {
52+
Self::null_ptr_extern_statics(this, &["__cxa_thread_atexit_impl"])?;
5253
// "environ"
5354
Self::add_extern_static(
5455
this,

0 commit comments

Comments
 (0)