Skip to content

Commit 335eae5

Browse files
committed
Fix CI bugs
1 parent 0d51264 commit 335eae5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020
- uses: dtolnay/rust-toolchain@nightly
21+
- run: rustup component add clippy
2122
- uses: Swatinem/rust-cache@v2
2223
with:
2324
# To only cache runs from `master`:
@@ -27,7 +28,6 @@ jobs:
2728
with:
2829
cuda: '12.4.1'
2930
method: 'network'
30-
sub-packages: '["nvcc"]'
3131
if: matrix.os != 'macOS-latest'
3232

3333
- name: Clippy Check

src/hvm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <threads.h>
66
#else
77
#include <pthread.h>
8+
#include <time.h>
89
typedef pthread_t thrd_t;
910
typedef void* thrd_start_t;
1011
#define thrd_create(a, b, c) pthread_create(a, NULL, b, c)

0 commit comments

Comments
 (0)