From 4735528bd0db6f30d321f0d96a87b8b0b2eb223f Mon Sep 17 00:00:00 2001 From: messense Date: Mon, 28 Nov 2022 11:33:17 +0800 Subject: [PATCH 1/2] Update rustix to 0.36.3 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c9898ac..e360a92 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ edition = "2018" [target.'cfg(not(windows))'.dependencies] -rustix = { version = "0.35.7", features = ["termios"] } +rustix = { version = "0.36.3", features = ["termios"] } [target.'cfg(windows)'.dependencies.windows-sys] version = "0.42.0" From 4cd679a169f3984df81ae62d2296efdc2f1cbea0 Mon Sep 17 00:00:00 2001 From: messense Date: Mon, 28 Nov 2022 11:35:04 +0800 Subject: [PATCH 2/2] Use Xcode 13 on macOS for Rust 1.48.0 To workaround https://github.com/rust-lang/rust/issues/103044 --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a1f60c1..df8452e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,10 @@ jobs: uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.toolchain }} + - uses: maxim-lobanov/setup-xcode@v1 + if: ${{ matrix.os == 'macos-latest' && matrix.toolchain == '1.48.0' }} + with: + xcode-version: 13 - name: Cargo build run: cargo build