Skip to content

Zig 0.16.0#953

Draft
mattnite wants to merge 34 commits into
mainfrom
zig-0.16.0
Draft

Zig 0.16.0#953
mattnite wants to merge 34 commits into
mainfrom
zig-0.16.0

Conversation

@mattnite
Copy link
Copy Markdown
Contributor

@mattnite mattnite commented May 27, 2026

Besides the mechanical upgrades, I've made the following choices:

  • Create a simple and maintainable flags library that we will standardize on for CLI tools. This will reduce churn from dependencies such as zig-args and clap.
  • Remove boxzer packaging. It was a cool experiment, but honestly we should be improving user experience by contributing upstream to zig itself.

mattnite added 10 commits May 23, 2026 10:32
That being said, I'm seeing the following from the build output. It
seems to be a compiler bug:

error: error: Alias and aliasee types don't match (Producer: 'zig 0.16.0' Reader: 'LLVM 21.1.0')
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 27, 2026

⚠️ Unused Imports Found

drivers/src/base/BlockMemory.zig:3:0: logger is unused
drivers/src/display/hd44780.zig:15:0: FunctionSet is unused
drivers/src/display/sh1106.zig:11:0: std is unused
drivers/src/io_expander/pca9685.zig:3:0: Digital_IO is unused
drivers/src/sensor/HTS221.zig:12:0: assert is unused
drivers/src/sensor/MPU_6050.zig:24:0: std is unused
drivers/src/wireless/cyw43/cyw43.zig:4:0: std is unused
drivers/src/wireless/cyw43/wifi.zig:22:0: IOCTL_SET_VAR is unused
drivers/src/wireless/cyw43439.zig:2:0: mem is unused
drivers/src/wireless/cyw43439/wifi.zig:5:0: assert is unused
port/nordic/nrf5x/src/hal/drivers.zig:5:0: std is unused
port/nordic/nrf5x/src/hal/drivers.zig:14:0: Stream_Device is unused
port/raspberrypi/rp2xxx/src/hal/cyw43.zig:1:0: std is unused
port/raspberrypi/rp2xxx/src/hal/cyw43_pio_spi.zig:3:0: std is unused
port/raspberrypi/rp2xxx/src/hal/cyw43_pio_spi.zig:9:0: chip is unused
port/raspberrypi/rp2xxx/src/hal/drivers.zig:14:0: Stream_Device is unused
port/stmicro/stm32/src/hals/STM32F103/drivers.zig:8:0: Stream_Device is unused
port/stmicro/stm32/src/hals/STM32F103/drivers.zig:1:0: std is unused
port/stmicro/stm32/src/hals/STM32F103/drivers.zig:9:0: Digital_IO is unused
port/stmicro/stm32/src/hals/STM32F103/uart.zig:12:0: drivers is unused
port/stmicro/stm32/src/hals/STM32F103/uart.zig:16:0: peripherals is unused
port/stmicro/stm32/src/hals/common/i2c_v2.zig:7:0: peripherals is unused
port/wch/ch32v/src/hals/drivers.zig:17:0: Stream_Device is unused
port/wch/ch32v/src/hals/drivers.zig:5:0: std is unused
port/wch/ch32v/src/hals/spi.zig:37:0: gpio is unused
port/wch/ch32v/src/hals/spi.zig:32:0: std is unused
tools/printer/src/main.zig:2:0: builtin is unused
tools/printer/tests/generate_test_data.zig:7:0: test_data_writer_buf is unused

Run zigimports --fix <file> locally to automatically remove unused imports.

@mattnite mattnite marked this pull request as draft May 27, 2026 17:39
@mattnite mattnite marked this pull request as ready for review May 28, 2026 21:14
@mattnite mattnite marked this pull request as draft May 29, 2026 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant