Skip to content

Commit 19264d5

Browse files
committed
xous: fix calling of rust_main_thread_not_inlined
This function was incorrectly called run_main_thread_not_inlined when invoked. Signed-off-by: Sean Cross <sean@xobs.io>
1 parent 2034aa4 commit 19264d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/sys/thread/xous.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ impl Thread {
8787
// dealloc calls from being reordered to after the TLS has been destroyed.
8888
// See https://github.com/rust-lang/rust/pull/144465#pullrequestreview-3289729950
8989
// for more context.
90-
run_main_thread_not_inlined(init);
90+
rust_main_thread_not_inlined(init);
9191

9292
// Destroy TLS, which will free the TLS page and call the destructor for
9393
// any thread local storage (if any).

0 commit comments

Comments
 (0)