Support slice equality (`==`) checks
Open
@philberty is already working on this.
Since Feb 12, 2025.
bug
- Dominant language
- C++
- Stars
- 2.9k
- Forks
- 231
- Avg merge
- 20h 2m
- Merged PRs (30d)
- 66
Description
P.S. I think this is known but it definitely threw me for a loop :P
(gdb) p bytes $2 = (u8 (&)[16]) @0x7fffffffe060: [104, 101, 108, 108, 111, 44, 32, 105, 110, 99, 108, 117, 100, 101, 33, 10] (gdb) p the_bytes $3 = (u8 (&)[16]) @0x7fffffffe070: [104, 101, 108, 108, 111, 44, 32, 105, 110, 99, 108, 117, 100, 101, 33, 10] (gdb) p bytes == the_bytes $4 = false
Ah :D I think this is worth raising an issue, it might be simply because we're not compiling libcore yet
Originally posted by @CohenArthur in https://github.com/Rust-GCC/gccrs/issues/1043#issuecomment-1074877915
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.
Assessment
This issue has not been assessed yet.