This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ error: unsupported operation: can't create threads on Windows
2
+ --> RUSTLIB/std/src/sys/PLATFORM/thread.rs:LL:CC
3
+ |
4
+ LL | let ret = c::CreateThread(
5
+ | ___________________^
6
+ LL | | ptr::null_mut(),
7
+ LL | | stack,
8
+ LL | | thread_start,
9
+ ... |
10
+ LL | | ptr::null_mut(),
11
+ LL | | );
12
+ | |_________^ can't create threads on Windows
13
+ |
14
+ = help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
15
+
16
+ = note: inside `std::sys::PLATFORM::thread::Thread::new` at RUSTLIB/std/src/sys/PLATFORM/thread.rs:LL:CC
17
+ = note: inside `std::thread::Builder::spawn_unchecked_::<[closure@$DIR/thread-spawn.rs:LL:CC], ()>` at RUSTLIB/std/src/thread/mod.rs:LL:CC
18
+ = note: inside `std::thread::Builder::spawn_unchecked::<[closure@$DIR/thread-spawn.rs:LL:CC], ()>` at RUSTLIB/std/src/thread/mod.rs:LL:CC
19
+ = note: inside `std::thread::Builder::spawn::<[closure@$DIR/thread-spawn.rs:LL:CC], ()>` at RUSTLIB/std/src/thread/mod.rs:LL:CC
20
+ = note: inside `std::thread::spawn::<[closure@$DIR/thread-spawn.rs:LL:CC], ()>` at RUSTLIB/std/src/thread/mod.rs:LL:CC
21
+ note: inside `main` at $DIR/thread-spawn.rs:LL:CC
22
+ --> $DIR/thread-spawn.rs:LL:CC
23
+ |
24
+ LL | thread::spawn(|| {});
25
+ | ^^^^^^^^^^^^^^^^^^^^
26
+
27
+ note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
28
+
29
+ error: aborting due to previous error
30
+
You can’t perform that action at this time.
0 commit comments