.\zbug.zig:1:13: error: C import failed
const cm3 = @cImport({
^
.\zbug.zig:1:13: note: libc headers not available; compilation does not link against libc
const cm3 = @cImport({
^
.../CMSIS/Include\core_cm3.h:138:6: note: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
#error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
^
.\zbug.zig:6:12: note: referenced here
return cm3.HardFault_IRQn;
^
Zig Version
0.9.0
Steps to Reproduce
0.9.0 fails to import while 0.8.0 is OK.
aaa.h
zbug.zig
build zbug.zig
Expected Behavior
It should compile.
Actual Behavior
Using 0.9.0: