Skip to content

Commit d8aaed9

Browse files
committed
Fix Windows build by excluding fuzz targets from workspace build
The fuzz crate uses #![no_main] which causes linker errors on Windows when built with `cargo build`. While Linux/Mac linkers seems to be permissive and allow this, the resulting binaries are probably non-functional. It seems fuzz targets should only be built with `cargo fuzz` as the directory README explain
1 parent bc2ecee commit d8aaed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454

5555
# build and run tests
5656
- name: Build
57-
run: cargo build
57+
run: cargo build --workspace --exclude quarto-markdown-pandoc-fuzz
5858
shell: bash
5959

6060
- name: Test inline tree-sitter grammar

0 commit comments

Comments
 (0)