Skip to content

Commit 3542d20

Browse files
committed
ci: fix
1 parent bf706e2 commit 3542d20

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v3
2323
- name: Support for `docker --platform=linux/amd64`
24-
run: docker run --privileged --rm tonistiigi/binfmt --install amd64
24+
run: |
25+
sudo apt update
26+
sudo apt install -y qemu-user-static binfmt-support
27+
sudo update-binfmts --enable qemu-x86_64
2528
- name: Install llvm
2629
run: sudo apt update && sudo apt install -y clang llvm # This requires Ubuntu 24.04 or later
2730
- uses: actions-rust-lang/setup-rust-toolchain@v1

0 commit comments

Comments
 (0)