Releases: vezel-dev/zig-sdk
Releases · vezel-dev/zig-sdk
v3.1.3
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 fmttool.- Added a
ZigFormatMSBuild task. - Added a
FormatMSBuild target which will format all Zig source files. EnforceCodeStyleInBuild=trueis interpreted as "runzig fmt --checkduringBuild".FormatOnBuild=trueis interpreted as "runzig fmtduringBuild" (equivalent to running theFormattarget).
- Added a
- Renamed
ZigMSBuild task toZigCompile. - Changed
MicrosoftExtensions=trueto imply-Wno-microsoft-abstract,-Wno-microsoft-anon-tag, and-Wno-microsoft-union-member-reference. - Enabled
-Wreserved-identifierby default atWarningLevel=1and above. - Changed
ZigCompileto no longer pass-fno-strict-overflowin C/C++ projects. - Added an
EagerBindingproperty to control-z now. - Added a
RelocationHardeningproperty to control-z relro. - Added an
ExecutableStackproperty to control-z noexecstack. - Changed rpath logic to always pass
-z originto ensure that rpath processing is enabled. - Added implicit
ZIG_BO_*macros to indicate byte order. - Renamed implicit
ZIG_MODE_*macros toZIG_CFG_*. - Fixed emulator detection logic for
win-arm64.
v2.3.4
v2.3.3
v2.3.2
v2.2.13
v2.2.12
v2.1.13
- Removed
-Wthread-safety-negativefromThreadingAnalysisas it is too experimental and makes the feature less helpful. - Added the project directory to the default include paths (done in the
Zigtask, not theIncludeDirectoryitem type). - Fixed misleading messages in
VSTestoutput.
v2.1.10
v2.2.11
- Disabled link-time optimization as it currently breaks many platform/configuration combinations (see #33).
- Added
win-x86to the defaultRuntimeIdentifiers. - Changed
ZigCompileto 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
ConfigurationDefinesproperty which adds implicitDefineConstantsmacros for the build mode. - Added a
TrustAnalysisproperty to control-Wtcb-enforcement. - Fixed white space trimming for
DisableWarnings.