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
when trying to compile with zig build you get the error:
install
└─ install arocc
└─ zig build-exe arocc Debug native 1 errors
src/aro/Compilation.zig:72:17: error: expected type 'error{OutOfMemory,InvalidUtf8,EnvironmentVariableNotFound}', found 'error{InvalidWtf8}'
error.InvalidWtf8 => null,
^~~~~~~~~~~~~~~~~
src/aro/Compilation.zig:72:17: note: 'error.InvalidWtf8' not a member of destination error set
easily fixed by changing the W to a U
The text was updated successfully, but these errors were encountered:
ziereis
changed the title
type in loadAll function
typo in loadAll function
Feb 28, 2024
I believe this is because you're using an older version of zig; that error was added recently. However I just saw that there is a different error with the latest version of the compiler, I'll send a PR for that soon.
@ziereis if you download the latest version of zig (I'm on 0.12.0-dev.3074+ae7f3fc36) + pull in the latest from this repo you should be able to build it.
when trying to compile with zig build you get the error:
install
└─ install arocc
└─ zig build-exe arocc Debug native 1 errors
src/aro/Compilation.zig:72:17: error: expected type 'error{OutOfMemory,InvalidUtf8,EnvironmentVariableNotFound}', found 'error{InvalidWtf8}'
error.InvalidWtf8 => null,
^~~~~~~~~~~~~~~~~
src/aro/Compilation.zig:72:17: note: 'error.InvalidWtf8' not a member of destination error set
easily fixed by changing the W to a U
The text was updated successfully, but these errors were encountered: