Skip to content

Commit

Permalink
Use edition 2021 for initialization of synthetic crates.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuttycom committed Feb 26, 2025
1 parent 20e1a70 commit c87d10d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ jobs:
# We use a synthetic crate to ensure no dev-dependencies are enabled, which can
# be incompatible with some of these targets.
- name: Create synthetic crate for testing
run: cargo init --lib ci-build
run: cargo init --lib ci-build --edition 2021
- name: Copy Rust version into synthetic crate
run: cp crates/rust-toolchain.toml ci-build/
- name: Copy patch directives into synthetic crate
Expand Down Expand Up @@ -316,7 +316,7 @@ jobs:
# We use a synthetic crate to ensure no dev-dependencies are enabled, which can
# be incompatible with some of these targets.
- name: Create synthetic crate for testing
run: cargo init --lib ci-build
run: cargo init --lib ci-build --edition 2021
- name: Copy Rust version into synthetic crate
run: cp crates/rust-toolchain.toml ci-build/
- name: Copy patch directives into synthetic crate
Expand Down

0 comments on commit c87d10d

Please sign in to comment.