diff --git a/src/runtime/interrupt/interrupt_esp32c3_qemu.go b/src/runtime/interrupt/interrupt_esp32c3_qemu.go new file mode 100644 index 000000000..039daf027 --- /dev/null +++ b/src/runtime/interrupt/interrupt_esp32c3_qemu.go @@ -0,0 +1,7 @@ +//go:build tinygo.riscv && esp32c3_qemu_target + +package interrupt + +// Enable is a no-op stub for the QEMU esp32c3 test target. +// Hardware interrupts are not needed when running tests under qemu-system-riscv32. +func (i Interrupt) Enable() error { return nil }