Skip to content

Tazel 0.2.0

Choose a tag to compare

@Leitwolf11 Leitwolf11 released this 27 Nov 05:55
46f9011
  • IncludeDirectories = ["."] names the package's own directory, as includes = ["."] does in Bazel; it was refused.

  • Building for DragonFly BSD with zig says that zig brings no libc for it, instead of zig's own error, and what does
    build for it. Tests build Zig, C and C++ for FreeBSD and OpenBSD with zig and check that the files are theirs.

  • --message-format rich-stdio|script-friendly-stdio|jsonl|xml: the rich terminal output as before, plain lines that
    start with a fixed word for scripts and logs, one JSON object per message per line, or one XML document. Errors of
    the command line come in the format it asks for.

  • A build reads each file once: a header that every compilation includes is looked at once, not once per
    compilation.

  • Project files are compiled once: the compiled MODULE.csx and BUILD.csx files are kept in .tazel/scripts/,
    so a command whose project files did not change does not start the C# compiler (a build with nothing to do on a
    module of a dozen packages: about 3 s before, under half a second now). tazel clean removes them. An exception a
    project file throws names its line. The release archives are compiled ahead of time for their platform
    (ReadyToRun), so commands start faster.

  • The last entry of tazel_envs.txt, tazel_custom.txt and tazel_options.txt may end the file without its ;;
    between two entries the ; is needed, and its absence is still error[E0406] and error[E0305].

  • Signed remote cache results: PublicKey and SigningKey of Remote.From, written as ed25519:, rsa-4096: or
    ml-dsa-65: and the key in base64. Writers sign each result; readers take only results signed with their key's
    algorithm and verified by it. tazel cache keygen [--algorithm ed25519|rsa-4096|ml-dsa] makes a pair; a key Tazel
    cannot read is error[E0505].

  • A remote cache: Cache.Remote takes results of actions from a cache that speaks Bazel's HTTP protocol, such as
    bazel-remote, and gives it the results of actions run here. Keys do not depend on where the module is; headers a
    compiler found are checked by digest before a result is taken, and every file by its SHA-256. A cache that cannot
    be reached is said once, and the build goes on.

  • Project files reach the whole base class library of .NET; each namespace is named with using, and none is
    imported for them.