Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/libc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.2.163
Choose a base ref
...
head repository: rust-lang/libc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.2.164
Choose a head ref
  • 11 commits
  • 7 files changed
  • 3 contributors

Commits on Nov 15, 2024

  1. Document the MSRV of the stable channel as 1.63

    Currently this crate maintains the `main` branch (future 1.0) alongside
    `libc-0.2` (current stable release). PRs are made against `main` then
    cherry picked as applicable to `libc-0.2`.
    
    Usually this flow works okay, but there is a substantial difference in
    minimum supported versions: libc-0.2 is tested down to 1.19 and main is
    tested with 1.63. This means that supported features differ quite a bit
    and as a result, cherry picks get conflict-heavy (e.g. `repr(align)`,
    `union`, and `const fn` cannot be used on `libc-0.2`).
    
    In order to make it easier to keep these branches in sync and get us
    close to a 1.0 release, raise the MSRV on `libc-0.2` to 1.63. This means
    both branches can run the exact same tests.
    
    Future Changes
    ==============
    
    This still does not establish a MSRV policy, which has been discussed at
    great length in [1]. For the purpose of unsticking us this selects 1.63
    as the MSRV, which is the version currently available on Debian stable
    (a commonly requested reference point in [1], and about the oldest
    specific version mentioned).
    
    This is a documentation-only change to keep things simple, cleanup can
    follow. Further increases and official policy are not precluded.
    
    History
    =======
    
    An attempt to raise the MSRV to 1.57 in 2022 was approved at one point
    [2], but never merged due to various failures. Making this a
    documentation-only change hopes to avoid this problem.
    
    I brought up a 0.3 release to increase versions in [3], but consensus
    there was that we should be able to increase the MSRV in the existing
    0.2 release without a semver-breaking change.
    
    Link: rust-lang/libs-team#72 [1]
    Link: #2845 [2]
    Link: rust-lang/libs-team#463 [3]
    tgross35 committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    93052d1 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2024

  1. Set rust-version to 1.63

    With the change to MSRV in [1], update Cargo.toml `rust-version` to
    match.
    
    [1]: #4040
    tgross35 committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    7ddddc5 View commit details
    Browse the repository at this point in the history
  2. ci: trim trailing whitespace

    (backport <#4050>)
    (cherry picked from commit 4b21887)
    tgross35 committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    0a976d3 View commit details
    Browse the repository at this point in the history
  3. ci: Remove tests with rust < 1.63

    Since the increase to MSRV in [1], we no longer need to test with old
    versions of Rust.
    
    This makes CI identical to `main`, with the exception of branch
    configuration.
    
    [1]: #4040
    tgross35 committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    d7b6bf0 View commit details
    Browse the repository at this point in the history
  4. Remove the "main" workflow

    This workflow is redundant now that Bors is no longer used. Remove it.
    tgross35 committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    a4b5bf8 View commit details
    Browse the repository at this point in the history
  5. MacOS: move ifconf to s_no_extra_traits

    The derived implementations were causing a CI failure that didn't show
    up before. Manually implement `PartialEq` and `Debug` to work around
    this.
    tgross35 committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    6093ce0 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #4027 from rust-lang/release-plz-2024-11-12T07-15-20Z

    chore: release v0.2.163
    tgross35 authored Nov 16, 2024
    Configuration menu
    Copy the full SHA
    5125160 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #4040 from tgross35/stable-msrv

    [0.2] Document the MSRV of the stable channel as 1.63
    tgross35 authored Nov 16, 2024
    Configuration menu
    Copy the full SHA
    5f0d183 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #4049 from tgross35/rust-version

    [0.2] Set `rust-version` to 1.63
    tgross35 authored Nov 16, 2024
    Configuration menu
    Copy the full SHA
    8153ac1 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #4051 from tgross35/stable-ci

    [0.2] ci: Remove tests with rust < 1.63
    tgross35 authored Nov 16, 2024
    Configuration menu
    Copy the full SHA
    01ce562 View commit details
    Browse the repository at this point in the history
  10. chore: release v0.2.164

    github-actions[bot] authored and tgross35 committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    dad00cb View commit details
    Browse the repository at this point in the history
Loading