Rust Lang Items
Open
Nobody has claimed this yet.
Rust Integrations
- Dominant language
- C++
- Stars
- 2.9k
- Forks
- 231
- Avg merge
- 19h 55m
- Merged PRs (30d)
- 67
Description
https://doc.rust-lang.org/beta/unstable-book/language-features/lang-items.html
- i8: libcore/num/mod.rs
- i16: libcore/num/mod.rs
- i32: libcore/num/mod.rs
- i64: libcore/num/mod.rs
- i128: libcore/num/mod.rs
- isize: libcore/num/mod.rs
- u8: libcore/num/mod.rs
- u16: libcore/num/mod.rs
- u32: libcore/num/mod.rs
- u64: libcore/num/mod.rs
- u128: libcore/num/mod.rs
- usize: libcore/num/mod.rs
- f32: libstd/f32.rs
- f64: libstd/f64.rs
- char: libcore/char.rs
- slice: liballoc/slice.rs
- str: liballoc/str.rs
- const_ptr: libcore/ptr.rs
- mut_ptr: libcore/ptr.rs
- unsafe_cell: libcore/cell.rs
- start: libstd/rt.rs
- eh_personality: libpanic_unwind/emcc.rs (EMCC)
- eh_personality: libpanic_unwind/gcc.rs (GNU)
- eh_personality: libpanic_unwind/seh.rs (SEH)
- eh_catch_typeinfo: libpanic_unwind/emcc.rs (EMCC)
- panic: libcore/panicking.rs
- panic_bounds_check: libcore/panicking.rs
- panic_impl: libcore/panicking.rs
- panic_impl: libstd/panicking.rs
- owned_box: liballoc/boxed.rs
- exchange_malloc: liballoc/heap.rs
- box_free: liballoc/heap.rs
- not: libcore/ops/bit.rs
- bitand: libcore/ops/bit.rs
- bitor: libcore/ops/bit.rs
- bitxor: libcore/ops/bit.rs
- shl: libcore/ops/bit.rs
- shr: libcore/ops/bit.rs
- bitand_assign: libcore/ops/bit.rs
- bitor_assign: libcore/ops/bit.rs
- bitxor_assign: libcore/ops/bit.rs
- shl_assign: libcore/ops/bit.rs
- shr_assign: libcore/ops/bit.rs
- deref: libcore/ops/deref.rs
- deref_mut: libcore/ops/deref.rs
- index: libcore/ops/index.rs
- index_mut: libcore/ops/index.rs
- add: libcore/ops/arith.rs
- sub: libcore/ops/arith.rs
- mul: libcore/ops/arith.rs
- div: libcore/ops/arith.rs
- rem: libcore/ops/arith.rs
- neg: libcore/ops/arith.rs
- add_assign: libcore/ops/arith.rs
- sub_assign: libcore/ops/arith.rs
- mul_assign: libcore/ops/arith.rs
- div_assign: libcore/ops/arith.rs
- rem_assign: libcore/ops/arith.rs
- eq: libcore/cmp.rs
- ord: libcore/cmp.rs
- fn: libcore/ops/function.rs
- fn_mut: libcore/ops/function.rs
- fn_once: libcore/ops/function.rs
- generator_state: libcore/ops/generator.rs
- generator: libcore/ops/generator.rs
- coerce_unsized: libcore/ops/unsize.rs
- drop: libcore/ops/drop.rs
- drop_in_place: libcore/ptr.rs
- clone: libcore/clone.rs
- copy: libcore/marker.rs
- send: libcore/marker.rs
- sized: libcore/marker.rs
- unsize: libcore/marker.rs
- sync: libcore/marker.rs
- phantom_data: libcore/marker.rs
- discriminant_kind: libcore/marker.rs
- freeze: libcore/marker.rs
- debug_trait: libcore/fmt/mod.rs
- non_zero: libcore/nonzero.rs
- arc: liballoc/sync.rs
- rc: liballoc/rc.rs
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Rust unstable-book lang-items reference and the unchecked entries in the listed libcore, liballoc, libstd, and libpanic_unwind files. Work through the remaining items, beginning with the relevant compiler implementation areas, and verify each checklist entry as its lang item is supported. Done means the unchecked entries have been implemented and the checklist can be updated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100