Install `rust-src` on macOS since its now required for C bindings
authorMatt Corallo <git@bluematt.me>
Sat, 3 Jun 2023 17:52:59 +0000 (17:52 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 4 Jun 2023 17:05:04 +0000 (17:05 +0000)
.github/workflows/build.yml

index f0c611ee726ab1f70b7a34bfcc77d7558aca8f34..c3a4ff8a117781a89f14ba94a833e8acb3df7c59 100644 (file)
@@ -492,8 +492,10 @@ jobs:
       fail-fast: false
     runs-on: ${{ matrix.platform }}
     steps:
-      - name: Install other Rust platforms
-        run: rustup target install aarch64-apple-darwin
+      - name: Install Rust components
+        run: |
+          rustup target install aarch64-apple-darwin
+          rustup component add rust-src
       - name: Checkout source code
         uses: actions/checkout@v2
         with: