bytecodealliance / bytecodealliance/rustix
syscalls.rs panics on sparc with rustix 1.0.8
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 294
- Avg merge
- 4h 7m
- Merged PRs (30d)
- 2
Description
i'm building a project on sparc that depends on rustix 1.0.8 via the use of crossterm, and im running into an immediate panic upon program execution.
```
thread 'main' panicked at /rustix-1.0.8/src/backend/libc/termios/syscalls.rs:95:31:
range end index 19 out of range for slice of length 17
stack backtrace:
0: __rustc::rust_begin_unwind
1: core::panicking::panic_fmt
2: core::slice::index::slice_end_index_len_fail::do_panic::runtime
3: core::slice::index::slice_end_index_len_fail
4: core::ops::function::FnOnce::call_once
5: std::sync::poison::once::Once::call_once::{{closure}}
6: std::sys::sync::once::futex::Once::call
7: pumpkin::main::{{closure}}
8: pumpkin::main
```
https://github.com/bytecodealliance/rustix/blob/5245b8160d53a04c37164779cfb11d35e18f55b3/src/backend/libc/termios/syscalls.rs#L95
Contributor guide
Assessment
This issue has not been assessed yet.