You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just downloaded zig 0.12 on Windows 10 and I added, the sole line to import capy into the default program right at the top. It does not compile moreover upon looking up this error message, as of 0.12 zig compiler now happily enforces all variables requiring to be mutated at least once unless declared with const. This is my first real zig project I'm trying and I only just started, I might download 0.11 to use as a temporary workaround. I'd think this was my system if I didn't put two and two together.
C:\Users\Tim.Heath\AppData\Local\zig\p\12201751d2094cde9630bc080e6ce1d8982ff03bdd30a3103abd21321a8361a7e39d\android\build\auto-detect.zig:158:13: error: local variable is never mutated
var android_studio_key: HKEY = for ([_]HKEY{ HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE }) |root_key| {
This caught me entirely off guard because I just downloaded zig totally fresh, set my path, and went to follow the guide at the below link (not exactly but just one step at a time towards my goal).
Indeed, I downloaded zig 0.11 and the issue is gone. Rust's borrow checker is a source of extreme hype, I've gotten segfaults with it, it's irritating is all.
I just downloaded zig 0.12 on Windows 10 and I added, the sole line to import capy into the default program right at the top. It does not compile moreover upon looking up this error message, as of 0.12 zig compiler now happily enforces all variables requiring to be mutated at least once unless declared with const. This is my first real zig project I'm trying and I only just started, I might download 0.11 to use as a temporary workaround. I'd think this was my system if I didn't put two and two together.
https://ziggit.dev/t/error-local-variable-is-never-mutated/2238/20
This caught me entirely off guard because I just downloaded zig totally fresh, set my path, and went to follow the guide at the below link (not exactly but just one step at a time towards my goal).
https://capy-ui.org/docs/getting-started/first-application/
The text was updated successfully, but these errors were encountered: