Skip to content

Bump minimum_zig_version to 0.16.0#27

Open
Fahien wants to merge 1 commit into
zig-gamedev:mainfrom
Fahien:fahien/zig-0.16.0
Open

Bump minimum_zig_version to 0.16.0#27
Fahien wants to merge 1 commit into
zig-gamedev:mainfrom
Fahien:fahien/zig-0.16.0

Conversation

@Fahien

@Fahien Fahien commented Jun 22, 2026

Copy link
Copy Markdown
  • Replace std.Thread.Mutex with a spinlock over std.atomic.Mutex.
  • Reimplement refAllDeclsRecursive.

- Replace std.Thread.Mutex with a spinlock over std.atomic.Mutex.
- Reimplement refAllDeclsRecursive.

@hazeycode hazeycode left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we need to think about ptr alignment for compatibility on some target platforms. See build errors on windows here https://github.com/zig-gamedev/zphysics/actions/runs/27956950390/job/82778199618#step:5:1

@Fahien

Fahien commented Jun 23, 2026

Copy link
Copy Markdown
Author

@hazeycode Looks like we need to think about ptr alignment for compatibility on some target platforms. See build errors on windows here https://github.com/zig-gamedev/zphysics/actions/runs/27956950390/job/82778199618#step:5:1

Maybe related to https://codeberg.org/ziglang/zig/issues/31576 ?

@Fahien

Fahien commented Jun 23, 2026

Copy link
Copy Markdown
Author

I guess this Vexu/arocc#1058 might fix the problem, but I am not sure when 😄

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.

2 participants