Skip to content

Commit d71fa9b

Browse files
zahclaude
andcommitted
fix(ci): disable cgo for pure Go tracewriter tests
The tracewriter package includes rust_writer.go with cgo, which requires libcodetracer_trace_writer_ffi. Set CGO_ENABLED=0 for test-tracewriter target to exclude the Rust FFI code. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2e89c0c commit d71fa9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ test:
44

55
# Run tracewriter package tests only (no cgo required)
66
test-tracewriter:
7-
go test ./tracewriter/ -v -run 'TestGoWriter'
7+
CGO_ENABLED=0 go test ./tracewriter/ -v -run 'TestGoWriter'
88

99
# Run tracewriter tests including Rust FFI (requires cgo + FFI library)
1010
test-tracewriter-ffi:

0 commit comments

Comments
 (0)