Skip to content

Commit

Permalink
Add back libc-dev; reorganize to explain both it and gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Nov 12, 2024
1 parent 54c7785 commit 8c71bd1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,15 @@ jobs:
- uses: actions/checkout@v4
- name: Prerequisites
run: |
prerequisites=(
ca-certificates
curl
gcc # rustc calls gcc to invoke the linker.
libc-dev # rustc, in the toolchain we are using, dynamically links to the system libc.
)
apt-get update
apt-get install --no-install-recommends -y ca-certificates curl gcc # rustc invokes gcc for linking
apt-get install --no-install-recommends -y -- "${prerequisites[@]}"
shell: bash
- name: Verify environment is sufficiently minimal for the test
run: |
set -x
Expand Down

0 comments on commit 8c71bd1

Please sign in to comment.