Repository navigation
crate: expose cfg for general 64-bit time_t functionality
#5411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -71,7 +71,7 @@ jobs: | |
| - toolchain: nightly | ||
| half: 2 | ||
| - toolchain: beta | ||
| only: '(aarch64|x86_64)' # just a spot check for beta | ||
| only: "(aarch64|x86_64)" # just a spot check for beta | ||
| - toolchain: stable | ||
| - toolchain: 1.65.0 # msrv | ||
| runs-on: ubuntu-26.04 | ||
|
|
@@ -220,7 +220,7 @@ jobs: | |
| - target: powerpc64-unknown-linux-gnu | ||
| - target: powerpc64-unknown-linux-musl | ||
| - target: powerpc64-unknown-linux-musl | ||
| env: { RUST_LIBC_UNSTABLE_MUSL_V1_2: 1 } | ||
| env: { TEST_MUSL_V1_2: 1 } | ||
| artifact-tag: new-musl | ||
| - target: powerpc64le-unknown-linux-gnu | ||
| - target: powerpc64le-unknown-linux-musl | ||
|
|
@@ -392,34 +392,34 @@ jobs: | |
| env: | ||
| RUSTFLAGS: "" # No need to check warnings on old MSRV, clear `-Dwarnings` | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| persist-credentials: false | ||
| - run: | | ||
| msrv="$( | ||
| cargo metadata --format-version 1 | | ||
| jq -r --arg CRATE_NAME ctest '.packages | map(select((.name == $CRATE_NAME) and (.id | startswith("path+file")))) | first | .rust_version' | ||
| )" | ||
| echo "MSRV: $msrv" | ||
| echo "MSRV=$msrv" >> "$GITHUB_ENV" | ||
| - name: Install Rust | ||
| run: rustup update "$MSRV" --no-self-update && rustup default "$MSRV" | ||
| - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 | ||
| - run: cargo build -p ctest | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| persist-credentials: false | ||
| - run: | | ||
| msrv="$( | ||
| cargo metadata --format-version 1 | | ||
| jq -r --arg CRATE_NAME ctest '.packages | map(select((.name == $CRATE_NAME) and (.id | startswith("path+file")))) | first | .rust_version' | ||
| )" | ||
| echo "MSRV: $msrv" | ||
| echo "MSRV=$msrv" >> "$GITHUB_ENV" | ||
| - name: Install Rust | ||
| run: rustup update "$MSRV" --no-self-update && rustup default "$MSRV" | ||
| - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 | ||
| - run: cargo build -p ctest | ||
|
|
||
| docs: | ||
| name: Ensure docs build | ||
| runs-on: ubuntu-26.04 | ||
| timeout-minutes: 10 | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| persist-credentials: false | ||
| - name: Install Rust | ||
| # FIXME(rust-lang/rust#160439): unpin once the issue is fixed | ||
| run: rustup update nightly-2026-08-02 --no-self-update && rustup default nightly-2026-08-02 | ||
| - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 | ||
| - run: cargo doc --workspace --no-deps | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| persist-credentials: false | ||
| - name: Install Rust | ||
| # FIXME(rust-lang/rust#160439): unpin once the issue is fixed | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: can we include full URL:
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wouldn't do that simply because there's other If we were to include the full link, though, I would think it best to (If that's the GitHub PR extension for VSCode, I think there's a setting
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think using a format like
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I digress but, of course, this is open source, so be my guest.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. By the way, since rust-lang/rust#162979 was recently merged, is this pin expected to be removable once
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think the issue the comment 1 mentions is related to Footnotes |
||
| run: rustup update nightly-2026-08-02 --no-self-update && rustup default nightly-2026-08-02 | ||
| - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 | ||
| - run: cargo doc --workspace --no-deps | ||
|
|
||
| zizmor: | ||
| name: Zizmor (Static analysis for GitHub Actions) | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "crate: expose
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It does, though (before this review, I mean.)
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What am I missing? 3901563 has the text:
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It does; At the end. I mention The PR summary also mentions it, though I get it is confusing to say
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It won't always be the case that they have a common prefix, this one is going to be stabilized as |

Uh oh!
There was an error while loading. Please reload this page.