Skip to content

Releases: vezel-dev/zig-sdk

v3.1.3

21 Jun 17:50
v3.1.3

Choose a tag to compare

  • Added LibraryReference and LibraryIncludeDirectory items for consuming third-party native libraries.
  • Removed the ExecutableStack property. The stack is not executable by default and this cannot be overridden with LLD.

v3.0.96

07 Apr 19:47
v3.0.96

Choose a tag to compare

  • 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.

v2.3.4

09 Aug 10:07
v2.3.4

Choose a tag to compare

  • Fixed misleading message in Publish output on a project with IsPublishable=false.

v2.3.3

23 Jul 03:29
v2.3.3

Choose a tag to compare

  • Fully fixed the issue where wrong DebugSymbols/DebugType values cause dotnet publish --no-build to fail.

v2.3.2

23 Jul 00:52
v2.3.2

Choose a tag to compare

  • Added a LinkTimeOptimization property to enable/disable link-time optimization (false by default).

v2.2.13

22 Jul 23:07
v2.2.13

Choose a tag to compare

  • Fixed dotnet build followed by dotnet publish --no-build failing on non-Windows platforms due to missing PDB file.

v2.2.12

19 Jul 00:23
v2.2.12

Choose a tag to compare

  • Fixed incorrect ZIG_MODE_* macros being generated with Configuration=Release.

v2.1.13

17 Jul 22:33
v2.1.13

Choose a tag to compare

  • Removed -Wthread-safety-negative from ThreadingAnalysis as it is too experimental and makes the feature less helpful.
  • Added the project directory to the default include paths (done in the Zig task, not the IncludeDirectory item type).
  • Fixed misleading messages in VSTest output.

v2.1.10

14 Jul 14:14
v2.1.10

Choose a tag to compare

  • Fixed quoting of DefineConstants macros with spaces.

v2.2.11

18 Jul 23:00
v2.2.11

Choose a tag to compare

  • Disabled link-time optimization as it currently breaks many platform/configuration combinations (see #33).
  • Added win-x86 to the default RuntimeIdentifiers.
  • Changed ZigCompile to always link to libc explicitly, even in Zig projects.
  • Changed the final target triple passed to the Zig compiler to include target OS/libc version.
  • Added a ConfigurationDefines property which adds implicit DefineConstants macros for the build mode.
  • Added a TrustAnalysis property to control -Wtcb-enforcement.
  • Fixed white space trimming for DisableWarnings.