Next MSRV bump
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- build-system
Research direction
No file or test is named. Start by reviewing the workspace's current MSRV and checking the listed Rust features against the crates that use them. Done means selecting and documenting a justified MSRV increase only where the project needs it, including whether the 2024 edition or later features are required.
Written by the indexing model from the issue text.
Description
Trixie released with rustc 1.85, so I expect a lot of crates will be increasing their MSRV in the next few weeks. I'd like to upgrade only as needed, rough list of what might be nice to have:
Baseline: 1.63
1.64:core::ffi::c_*(definitely need this)1.64: workspace-level lints (meh)1.65:cast_mut(this would be nice)
Baseline: 1.65
- 1.67: varargs for non-C extern ABIs (no known applications)
- 1.69:
deriveon packed structs that don't implementCopy(not overly useful for us, everything is copy) - 1.75:
byte_add(this would be nice) - 1.75:
const_maybe_uninit_zeroed(this would be nice) - 1.77:
offset_of(just lets us remove a polyfill) - 1.77: C string literals (nothing we can't work around, not sure we even use this now)
- 1.78:
cfg(target_abi = "...")https://github.com/rust-lang/libc/pull/5065#issuecomment-4861400142 - 1.80:
size_of,align_ofin prelude (nice to have but we have our own prelude) - 1.80: variadics without a named parameter (no known applications)
- 1.81:
#[expect(...)](want this, but it's not pressing) - 1.82:
unsafe externblocks (neutral) - 1.82:
&raw(few small applications,addr_of!works fine) - 1.82: nested access in
offset_of!(no uses) - 1.84:
ptr::without_provenance(some0x1234 as *const Tcasts) - 1.85:
ptr::fn_addr_eq(we don't really need this as it is just for trait impls) - 1.85: 2024 edition
- 1.92:
&raw [mut|const]to union fields is now safe
- Dominant language
- Rust
- Stars
- 2.6k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 27
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from rust-lang/libc
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
riscv32gc-unknown-linux-gnu: `timex` uses the 32-bit `c_long` layout (144 bytes), glibc's riscv32 `struct timex` is 208 bytesPossibly taken @compiler-segfault claimed this 3 days ago. OpenC-bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
rust-lang/libc#5697 · 3 comments ·
Maintainers usually reply within 1 day
-
Expose `open_how` on AndroidPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
rust-lang/libc#5673 · 1 comment ·
Maintainers usually reply within 1 day
-
RTEMS: `dirfd` is not declaredPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
rust-lang/libc#5655 · 1 comment ·
Maintainers usually reply within 1 day
-
C-bug O-macos
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rust-lang/libc#5650 · 16 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CakeRepository/agentshangout#995 ·
-
area:frontend kind:bug priority:p3 ready
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day