1
1
mirror of https://github.com/wez/wezterm.git synced 2024-10-26 23:58:28 +03:00

avoid nightly rust for cargo fuzz

An older version of proc-macro2 used by many crates doesn't compile
on nightly rust any more.  It doesn't look like we need nightly
rust for cargo-fuzz any more, so try using stable rust instead.
This commit is contained in:
Wez Furlong 2023-07-03 13:22:39 -07:00
parent 35df422ec7
commit 9459f64cce
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -53,8 +53,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "Install Rust"
uses: dtolnay/rust-toolchain@nightly
- name: "Install Stable Rust"
uses: dtolnay/rust-toolchain
- name: "Cache cargo"
uses: Swatinem/rust-cache@v2
with:
@ -69,5 +69,5 @@ jobs:
run: |
source $HOME/.cargo/env
cd termwiz/fuzz
RUST_BACKTRACE=full cargo +nightly fuzz run escape_parse -- -max_total_time=60
RUST_BACKTRACE=full cargo fuzz run escape_parse -- -max_total_time=60