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/cfg-if
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.3
Choose a base ref
...
head repository: rust-lang/cfg-if
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.4
Choose a head ref
  • 6 commits
  • 4 files changed
  • 4 contributors

Commits on Aug 20, 2025

  1. Document and test for a subtle case.

    This is what caused issue #90.
    nnethercote authored and tgross35 committed Aug 20, 2025
    Configuration menu
    Copy the full SHA
    2400b38 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2025

  1. Have a single top-level rule.

    There are currently two top-level rules: one handling if/else chains
    with a final `else`, and one handling if/else chains lacking a final
    `else`. But it's possible to handle both cases in a single rule, and
    it's shorter and clearer that way.
    nnethercote authored and tgross35 committed Sep 15, 2025
    Configuration menu
    Copy the full SHA
    8ef8e9f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5fd566f View commit details
    Browse the repository at this point in the history
  3. Set and test a MSRV of 1.32

    This is the version needed for the 2018 edition (stable in 1.31) and the
    `?` operator in macros (stable in 1.32).
    tgross35 committed Sep 15, 2025
    Configuration menu
    Copy the full SHA
    036c64e View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2025

  1. Support cfg(true) and cfg(false) (#99)

    `meta` does not match `true`/`false`, so switch to `tt`.
    Jules-Bertholet authored Oct 15, 2025
    Configuration menu
    Copy the full SHA
    15aec4a View commit details
    Browse the repository at this point in the history
  2. chore: release v1.0.4 (#95)

    Co-authored-by: Trevor Gross <tmgross@umich.edu>
    github-actions[bot] and tgross35 authored Oct 15, 2025
    Configuration menu
    Copy the full SHA
    3510ca6 View commit details
    Browse the repository at this point in the history
Loading