Fingerprint help

by the way, in case you’re a bit dumb like me, a few things to be aware of:

  • the fingerprint is determined in part by the .name field.
  • (as of zig-0.14.0-dev.3452) if you run zig init in a directory named test, because test is not a valid bare identifier in Zig (it’s a reserved word, so would require .@"test"), you will need to change the .name field for your init project to compile.
  • every time you change the .name field, you will also need to recompute the .fingerprint field (i.e. delete it and run zig build).
1 Like