Merge branch 'fix-relibc-tests' into 'master'

fix: Fix fdtbl initialization and synchronization to make relibc tests work

See merge request redox-os/relibc!1545
This commit is contained in:
Jeremy Soller
2026-07-13 06:13:17 -06:00
2 changed files with 16 additions and 3 deletions
+5
View File
@@ -198,6 +198,11 @@ pub unsafe extern "C" fn relibc_start_v1(
)
};
#[cfg(target_os = "redox")]
{
redox_rt::TLS_ACTIVATED.store(true, core::sync::atomic::Ordering::Relaxed);
}
// Set up the right allocator...
// if any memory rust based memory allocation happen before this step .. we are doomed.
alloc_init();