We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4dbce2 commit 22a2217Copy full SHA for 22a2217
library/std/src/sys/pal/vexos/mod.rs
@@ -55,6 +55,11 @@ pub unsafe extern "C" fn _start() -> ! {
55
56
main();
57
58
+ unsafe {
59
+ crate::sys::thread_local::destructors::run();
60
+ }
61
+ crate::rt::thread_cleanup();
62
+
63
abort_internal()
64
}
65
library/std/src/sys/thread_local/mod.rs
@@ -90,6 +90,7 @@ pub(crate) mod guard {
90
target_family = "wasm",
91
target_os = "uefi",
92
target_os = "zkvm",
93
+ target_os = "vexos",
94
))] {
95
pub(crate) fn enable() {
96
// FIXME: Right now there is no concept of "thread exit" on
0 commit comments