andrewrk / andrewrk/zasm

main.zig:277:19: error: expected type 'std.target.Target', found '(enum literal)'

Ouverte
#4 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Zig
Étoiles
98
Forks
5
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I downloaded the latest Zig 0.5.0+571f3ed16 and then tried to compile `zasm`:
```
$ zig build
Code Generation [151/1596] std.array_list.AlignedArrayList(std.dwarf.CompileUnit./src/main.zig:277:19: error: expected type 'std.target.Target', found '(enum literal)'
.target = .Native,
^
/home/ondrej/ext/zig-linux-x86_64-0.5.0+571f3ed16/lib/zig/std/target.zig:9:20: note: std.target.Target declared here
pub const Target = struct {
^
zasm...The following command exited with error code 1:
/home/ondrej/ext/zig-linux-x86_64-0.5.0+571f3ed16/zig build-exe /home/ondrej/repos/zasm/src/main.zig --cache-dir /home/ondrej/repos/zasm/zig-cache --name zasm --cache on

Build failed. The following command failed:
/home/ondrej/repos/zasm/zig-cache/o/fV9AemmlEeHP-wcOooBdnXhyNr7XvUVEUAN8OtZHDQwOzaFhewNqbazPFPY_6sDQ/build /home/ondrej/ext/zig-linux-x86_64-0.5.0+571f3ed16/zig /home/ondrej/repos/zasm /home/ondrej/repos/zasm/zig-cache
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.