Skip to content

Releases: vezel-dev/zig-sdk

v2.3.2

23 Jul 00:52
v2.3.2
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
  • Fixed quoting of DefineConstants macros with spaces.

v2.2.11

18 Jul 23:00
v2.2.11
Compare
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.

v2.1.8

13 Jul 21:50
v2.1.8
Compare
Choose a tag to compare
  • Fixed quoting of implicit DefineConstants macros.
  • Fixed quoting for paths with spaces when using WSL emulation.

v2.1.4

08 Jul 13:17
v2.1.4
Compare
Choose a tag to compare
  • Added support for generating compile_commands.json for use by clangd.
  • Changed SDK to set PrivateAssets=all on the Zig toolset PackageReference.
  • Fixed UseEmulator default value being incorrectly guarded by RuntimeIdentifiers being unset.

v2.0.22

08 Jul 08:40
v2.0.22
Compare
Choose a tag to compare
  • Changed Build, Clean, and Publish targets to dispatch to all RIDs supported by the project if one is not explicitly specified.
  • Overhauled warning and static analysis configuration.
    • Added more warnings to the various warning levels.
    • Changed WarningLevel=4 from documentation warnings to simply another warning level, containing some controversial warnings.
    • Added a new DisableWarnings property for disabling specific warnings.
    • Added ConsumptionAnalysis, DocumentationAnalysis, NullabilityAnalysis, TagAnalysis, and ThreadingAnalysis properties.
  • Changed LanguageStandard to default to the newest C/C++ language standard if one is not explicitly specified.
  • Removed osx-arm64 and win-x86 from the default RuntimeIdentifiers (see #4 and #5).
  • Changed SDK to exclude Zig sources when packing C/C++ projects.
  • Changed SDK to require .zigproj project file extension for Zig projects.

v1.1.5

07 Jul 11:27
v1.1.5
Compare
Choose a tag to compare
  • Added support for the Deterministic property.
  • Added $ORIGIN rpath for executables and libraries.
  • Added soname for libraries based on TargetFileName.
  • Changed tasks to store the Zig cache in IntermediateOutputPath instead of BaseIntermediateOutputPath.