Skip to content

Commit

Permalink
msrv
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji committed Apr 30, 2024
1 parent 1bd7501 commit 038adf6
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 22 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:

jobs:
build:
if: false
runs-on: windows-latest
env:
RUST_BACKTRACE: 1
Expand Down Expand Up @@ -77,7 +76,10 @@ jobs:
rustup toolchain install ${{ env.MSRV }}
rustup default ${{ env.MSRV }}
- run: |
cargo build
rustup run stable cargo generate-lockfile
rustup run stable cargo fetch
- run: |
cargo build --locked
rustfmt:
runs-on: ubuntu-latest
Expand Down
117 changes: 99 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Lzu Tao <[email protected]>"]
categories = ["api-bindings", "os::windows-apis"]
documentation = "https://docs.rs/junction/*/x86_64-pc-windows-msvc/junction/"
edition = "2018" # edition 2021 released in 1.56.0
# rust-version = "1.51"
rust-version = "1.51"
exclude = [
"/.github",
"/HOW-TO-RELEASE.md",
Expand Down Expand Up @@ -55,4 +55,6 @@ features = [
]

[dev-dependencies]
tempfile = "3"
tempfile = "=3.8.0"
# MSRV: v0.38.9+ has newer dep:core syntax that old rustc confuses
rustix = "=0.38.9"

0 comments on commit 038adf6

Please sign in to comment.