Skip to content

Commit 8c71bd1

Browse files
committed
Add back libc-dev; reorganize to explain both it and gcc
1 parent 54c7785 commit 8c71bd1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,15 @@ jobs:
3030
- uses: actions/checkout@v4
3131
- name: Prerequisites
3232
run: |
33+
prerequisites=(
34+
ca-certificates
35+
curl
36+
gcc # rustc calls gcc to invoke the linker.
37+
libc-dev # rustc, in the toolchain we are using, dynamically links to the system libc.
38+
)
3339
apt-get update
34-
apt-get install --no-install-recommends -y ca-certificates curl gcc # rustc invokes gcc for linking
40+
apt-get install --no-install-recommends -y -- "${prerequisites[@]}"
41+
shell: bash
3542
- name: Verify environment is sufficiently minimal for the test
3643
run: |
3744
set -x

0 commit comments

Comments
 (0)