Please don't throw an error on a newer Zig version #1263
Labels
No labels
CI
all
basisu
blog
bug
build
contributor-friendly
core
correctness
deferred
dev
direct3d-headers
docs
driver-os-issue
duplicate
dxcompiler
editor
examples
experiment
feature-idea
feedback
flac
freetype
gamemode
gkurve
glfw
gpu
gpu-dawn
harfbuzz
help welcome
in-progress
infrastructure
invalid
libmach
linux-audio-headers
long-term
mach
mach.gfx
mach.math
mach.physics
mach.testing
model3d
needs-triage
object
opengl-headers
opus
os/linux
os/macos
os/wasm
os/windows
package-manager
priority
proposal
proposal-accepted
question
roadmap
slipped
stability
sysaudio
sysgpu
sysjs
validating-fix
vulkan-zig-generated
wayland-headers
website
wontfix
wrench
www
x11-headers
xcode-frameworks
zig-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hexops/mach#1263
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I can understand throwing an error on an older version, but please don't throw an immediate error on a newer version without at least trying to compile. I tried to upgrade my Zig today and got:
Everything may very well compile (I'm only using mach-freetype), but I can't even try without pulling in the project and modifying the build.zig and ...
I'm fine with throwing a warning if your compiler is newer than expected.
I understand not taking bug reports on non-nominated versions. However, this kind of behavior in the build.zig strongly discourages people from relying on external packages.
Working as intended.
We support a single Zig version, if you aren't using a supported version then you should be aware of it.
If you want to try the package with an unsupported version, feel free to fork it.
You can learn more of the reasoning behind this here: https://machengine.org/docs/nominated-zig/
Sorry, it was glfw and not freetype causing the issue and you're not maintaining glfw anymore. My apologies for the noise.
I will excise mach-glfw since it's not being maintained.
Thanks.