Skip to content

Commit

Permalink
Use configured toolchain 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 357df70
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ 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
working-directory: ./crates
run: cargo init -C ../ --lib ci-build
- 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 +317,8 @@ 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
working-directory: ./crates
run: cargo init -C ../ --lib ci-build
- 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 357df70

Please sign in to comment.