Skip to content

v3.0.96

Compare
Choose a tag to compare
@alexrp alexrp released this 07 Apr 19:47
· 389 commits to master since this release
v3.0.96
  • Renamed the project from Zig.Sdk to Vezel.Zig.Sdk.
  • Switched to Zig 0.9.1 as default.
  • Added support for Zig source code formatting using the zig fmt tool.
    • Added a ZigFormat MSBuild task.
    • Added a Format MSBuild target which will format all Zig source files.
    • EnforceCodeStyleInBuild=true is interpreted as "run zig fmt --check during Build".
    • FormatOnBuild=true is interpreted as "run zig fmt during Build" (equivalent to running the Format target).
  • Renamed Zig MSBuild task to ZigCompile.
  • Changed MicrosoftExtensions=true to imply -Wno-microsoft-abstract, -Wno-microsoft-anon-tag, and -Wno-microsoft-union-member-reference.
  • Enabled -Wreserved-identifier by default at WarningLevel=1 and above.
  • Changed ZigCompile to no longer pass -fno-strict-overflow in C/C++ projects.
  • Added an EagerBinding property to control -z now.
  • Added a RelocationHardening property to control -z relro.
  • Added an ExecutableStack property to control -z noexecstack.
  • Changed rpath logic to always pass -z origin to ensure that rpath processing is enabled.
  • Added implicit ZIG_BO_* macros to indicate byte order.
  • Renamed implicit ZIG_MODE_* macros to ZIG_CFG_*.
  • Fixed emulator detection logic for win-arm64.