https://github.com/bash/rust-dylib-crash
MCVE for https://github.com/rust-lang/rust/issues/127979
https://github.com/bash/rust-dylib-crash
Last synced: 8 months ago
JSON representation
MCVE for https://github.com/rust-lang/rust/issues/127979
- Host: GitHub
- URL: https://github.com/bash/rust-dylib-crash
- Owner: bash
- Created: 2024-07-19T22:00:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-19T22:34:38.000Z (over 1 year ago)
- Last Synced: 2025-02-21T15:19:26.591Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dylib Crash
run `cargo run` on Windows to crash.
On stable this gives the following error:
```
thread 'main' panicked at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081\library\std\src\sync\once.rs:208:20:
assertion failed: state_and_queue.addr() & STATE_MASK == RUNNING
```
and on nightly:
```
thread 'main' panicked at /rustc/5affbb17153bc69a9d5d8d2faa4e399a014a211e\library\std\src\sync\once.rs:217:20:
internal error: entered unreachable code: state is never set to invalid values
```