Skip to content

Commit e3ce30b

Browse files
committed
ensure fuse module is loaded
1 parent f033331 commit e3ce30b

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/freebsd.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,17 @@ jobs:
3333
run: |
3434
set -e
3535
36-
# fusefs.ko is already in the GENERIC kernel, so the live tests need
37-
# no kldload. protobuf provides protoc, which build.rs falls back to
38-
# because protoc-bin-vendored ships no FreeBSD binary. llvm provides
39-
# the libclang bindgen needs, and fusefs-libs3 the fuse3.pc that
36+
# protobuf provides protoc, which build.rs falls back to because
37+
# protoc-bin-vendored ships no FreeBSD binary. llvm provides the
38+
# libclang bindgen needs, and fusefs-libs3 the fuse3.pc that
4039
# libfuse-sys probes for.
4140
rustc --version
4241
pkg-config --modversion fuse3
4342
43+
# fusefs is a loadable module, not compiled into GENERIC, so
44+
# /dev/fuse only exists once it is loaded.
45+
kldstat -q -n fusefs.ko || kldload fusefs
46+
4447
cargo clippy --all-targets --all-features -- -D warnings
4548
4649
cargo build --release

0 commit comments

Comments
 (0)