Can't use the crate for the target riscv32i-unknown-none-elf
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- rust
- Lĩnh vực
- operating-systems
Hướng nghiên cứu
Start by reproducing the riscv32i-unknown-none-elf build from the dependency declaration in Cargo.toml and inspect the AtomicUsize import in lock_api-0.4.9/src/remutex.rs. Determine whether the allocator can support this target without atomic instructions or whether the limitation should be documented; done means the behavior is resolved or clearly reported.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I don't know if this is an issue and I would like to apologize for that. (It is my first issue that i wrote. )
What I did was only include the linked_list_allocator in the Cargo.toml .
/* Cargo.toml */
[dependencies]
linked_list_allocator = "0.10.4"
Terminal Output:
error[E0432]: unresolved import `core::sync::atomic::AtomicUsize`
--> /home/user123/.cargo/registry/src/github.com-1ecc6299db9ec823/lock_api-0.4.9/src/remutex.rs:19:20
|
19 | sync::atomic::{AtomicUsize, Ordering},
| ^^^^^^^^^^^ no `AtomicUsize` in `sync::atomic`
The problem is that the Riscv32i does not contain an atomic instruction set (A) and that is why the error occurs.
I do not know if I have forgotten something or if it is a bug.
- Ngôn ngữ chính
- Rust
- Star
- 242
- Fork
- 56
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rust-osdev/linked-list-allocator
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Support for reallocationsĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
rust-osdev/linked-list-allocator#86 · 3 reaction ·
-
Integer overflow in deallocationĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
rust-osdev/linked-list-allocator#83 · 2 bình luận ·
Tất cả issue của rust-osdev/linked-list-allocator
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
trailofbits/dylint#2107 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:cli bug good first issue priority:medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
rtk-ai/rtk#4289 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
arrays_zip with two same-named inputs fails with "ArrowArray struct has 2 children (expected 1)"Đang mởbug requires-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/datafusion-comet#6251 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug false-positive harper-core linting
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Automattic/harper#4471 ·
Maintainer thường phản hồi trong vòng 1 ngày