The NetBSD Project

CVS log for pkgsrc/lang/zig/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / lang / zig

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24 / (download) - annotate - [select for diffs], Mon Jan 30 21:01:42 2023 UTC (3 days, 10 hours ago) by nikita
Branch: MAIN
CVS Tags: HEAD
Changes since 1.23: +5 -1 lines
Diff to previous 1.23 (colored)

lang/zig: ensure that we run everywhere

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jan 22 22:15:30 2023 UTC (11 days, 9 hours ago) by wiz
Branch: MAIN
Changes since 1.22: +5 -3 lines
Diff to previous 1.22 (colored)

zig: unlimit stacksize to fix build

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jan 19 19:11:26 2023 UTC (2 weeks ago) by nikita
Branch: MAIN
Changes since 1.21: +6 -1 lines
Diff to previous 1.21 (colored)

zig: fix issues with generating package.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jan 19 12:32:18 2023 UTC (2 weeks ago) by adam
Branch: MAIN
Changes since 1.20: +2 -5 lines
Diff to previous 1.20 (colored)

zig: updated to 0.10.1

0.10.1

LLVM 15.0.7

This release of Zig upgrades to LLVM 15.0.7 which fixed a handful of bugs, including regressions introduced in LLVM 15.0.0. At time of writing, this hyperlink 404s because LLVM project did not provide release notes for this version.

Compiler

cmake: move 'continue' statement to avoid cmake bug
C backend: improve support for non-native float types
C backend: enough fixes for compiler to to be able to build itself
C backend: include zig.h with quotes instead of angle brackets.
C backend: remove redundant definition of u16/i16 in zig.h
C backend: fixed some C warnings and errors on gcc 11.3.0.
c backend: Output string literals for array init of bytes
Fixed typo in zig.h causing incorrect behavior.
LLVM: mangle extern function names for Wasm target
Fixed detection of MSVC installation on aarch64-windows.
Fixed comptime array initialization.
Fixed performance regression due to unnecessary copies. There is still another known similar performance regression that is not fixed in 0.10.1.
Fixed CPU model detection for neoverse_n1 on aarch64-linux
LLVM: fix canElideLoad behavior with loops
Improved error messages.
Fixed false positive dependency loops.
Sema: resolve elem type for non-default aligned ptrs
Compilation: fixed deadlock when compiling the same C source file twice
Fixed compiler crashes.
mingw: add missing vscprintf.c file
LLVM: Respect alignment for `.union_init`
Ensure f128 alignment matches c_longdouble alignment
Support modifiers in inline assembly.
Fixes bug in AVR codegen for LLVM backend
Fixed compilation not failing when there are linker errors.
cache: Fix LockViolation during C compilation paths
Fix another LockViolation case on Windows
Fixed C ABI bug regarding double types
fix Nvptx backend outputing files at the top level of zig-cache
Sema: make `InferredErrorSet` deterministic
Sema: avoid breaking hash contract when instantiating generic functions
Sema: fix missing struct layout for llvm backend
Miscellaneous fixes to the experimental ARM and aarch64 backends.
cli: set sysroot when --sysroot option was passed
macho: do not zero-out file if there are no nonzerofill sects
macho: parse weak imports in tbd descriptors
fixes to the DWARF parser
Fixed handling of explicitly provided pdb
windows: add native CPU and features detection for Armv8 chips
Improve aarch64 feature detection based on the readouts from privileged system registers
Remove incorrect assertion in readMachODebugInfo panicking during panic
Add missing clang opts: -install_name and -undefined
macho: add missing defs of compact unwind info records
Bug fix: Prevent uninitialized parse nodes
Sema: resolve lazy align in zirReify for union fields
llvm codegen: fix f16,f32,f64 nan bitcasts
support building zig on BSDs with dynamic libstdc++/libc++
Elf: link libcompiler_rt after libc
macos: enable -headerpad_max_install_names
Translate-C Remainder Macro Fix
Many compiler crashes are fixed.
Many compile error messages are more helpful.
LLVM: implement packed unions
Sema: remove `block` and `src` parameters from `getBuiltin`
translate-c: cast unsuffixed floats to f64
LLVM: fix x86_64 sysV ABI of big vectors on avx512 enabled CPUs
LLVM: improve emitted debug info
Improve debuggability of programs built by the self hosted compiler.
windows: fix _tls_index not being defined if libc wasn't linked, and fix x86 name mangling
zig-cache: support windows drive + fwd-slash paths
Fix error reporting the wrong line for struct field inits
Call ensureResultUsed before comptime .call is evaluated.
add arm-features.h from glibc source

Standard Library

os: windows: fix unhandled error
std.os.windows.ReadLink: add missing alignment of local data buffer
Fixed condition variable (futex implementation) broadcast failing to wake all threads
Fixes to make zig work better with BSD operating systems.
uefi: Delete unneeded alignment and use default 4K
Fixed update() method in PriorityQueue and PriorityDequeue
std.c: Add definition for pthread_key_t
std.os.linux: Add setitimer and getitimer syscalls
Handle sentinel slices in `std.mem.zeroes`
add missing std.c.pthread_sigmask
std.big.int.Mutable: fix set(@as(DoubleLimb, 0))
wasi: fixes IterableDir.nextWasi for large directory
Fix buffer overflow in fmt when DAZ is set
std.os: fix alignment of Sigaction.handler_fn
gzip: add missing header fields and bounds for header parsing
os.windows.OpenFile: Add `USER_MAPPED_FILE` as a possible error
Dir.openDirAccessMaskW: Add ACCESS_DENIED as a possible error
wasi: fixes os.isatty on type mismatch
Add 0-length buffer checks to os.read and os.write
Fixes to linux/bpf/btf.zig
std: fix bug in Pcg32 fill function
std.net: check for localhost names before asking DNS
std.os.linux.T: translate more MIPS values
std.atomic.Queue: fix unget implementation and add doc
std.Thread.Futex.PosixImpl.Address.from: fix `alignment` type

crypto

Ed25519.KeyPair.fromSecretKey() didn't compile after the API changes
ed25519: recommend using the seed to recover a key pair
std.crypto.ed25519 incremental signatures: hash the fallback noise
std.crypto.pwhash.bcrypt: inline the Feistel network function
crypto.salsa20: make the number of rounds a comptime parameter
crypto.core.aes: process 6 block in parallel instead of 8 on aarch64
crypto.bcrypt: fix speed regression when using self-hosted compiler

zig cc / zig c++

detect -z stack-size arguments
support -stack in addition to --stack for linker arg
fix wrong flag name from earlier commit

compiler-rt

Fixed duplicate symbol error when linking libc on arm64 Windows.
Added aarch64 outline atomics.
Avoid using weak aliases.

Documentation

langref: Simplify printing types in examples
packed struct fix example and clarify least to most significant ordering
langref: add appendix and explain 'container' terminology
Add docstrings to some functions in std.meta
Improve doc comments for two functions
document std.heap.StackFallbackAllocator
std.array_list: add a comment on every methods invalidating pointers.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Nov 23 16:20:31 2022 UTC (2 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

massive revision bump after textproc/icu update

Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 14 19:00:39 2022 UTC (2 months, 2 weeks ago) by adam
Branch: MAIN
Changes since 1.18: +2 -6 lines
Diff to previous 1.18 (colored)

zig: updated to 0.10.0

0.10.0:
https://ziglang.org/download/0.10.0/release-notes.html

Revision 1.18 / (download) - annotate - [select for diffs], Sat Aug 20 21:01:27 2022 UTC (5 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

zig: add upstream bug report URL for llvm 14 support release

Revision 1.17 / (download) - annotate - [select for diffs], Mon Aug 15 19:16:25 2022 UTC (5 months, 2 weeks ago) by wiz
Branch: MAIN
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored)

zig: mark as BROKEN

Does not support llvm 14 yet.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Apr 18 19:11:32 2022 UTC (9 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

revbump for textproc/icu update

Revision 1.15 / (download) - annotate - [select for diffs], Tue Mar 15 05:36:15 2022 UTC (10 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

zig: updated to 0.9.1

0.9.1:

libcxx: fixed not building fs/filesystem when targeting Windows.
libcxx: fixed duplicate __muloti4 symbol.
Integration with --sysroot parameter
Integration with --entry parameter
Integration with --whole-archive, --no-whole-archive, --strip-all, and --strip-debug parameters.
Integration with --hash-style parameter.
Fixed a bug where passing a zig source file to zig cc would incorrectly punt to clang because it thought there were no positional arguments.
Integration with CUDA source files
Improved a warning message for some cases of using zig run -lc++.
Ignore -lgcc_s when it is redundant with compiler-rt.
Fixed Linux headers being named arm64 instead of aarch64
glibc: fixed passing of __GNU_MINOR__.
glibc: fixed compatibility with glibc <= 2.33 for global initializers
glibc: fixed MINSIGSTKSZ on glibcs older than 2.34

Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 21 09:16:26 2021 UTC (13 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.13: +2 -6 lines
Diff to previous 1.13 (colored)

zig: updated to 0.9.0

0.9.0:

Language Changes

Address Spaces
More Builtins Return String Literals
@minimum and @maximum
@select
SIMD
@intToEnum Implicitly Performs @intCast
Shadowing Declarations
Keywords Deleted: true, false, undefined, null
usingnamespace No Longer Affects Identifier Lookup
c_void renamed to anyopaque
Saturating Arithmetic
Compile Errors for Unused Locals
@export with Field Access
Inline Assembly Requires String Literals
@prefetch

Revision 1.13 / (download) - annotate - [select for diffs], Wed Dec 8 16:05:24 2021 UTC (13 months, 3 weeks ago) by adam
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

revbump for icu and libffi

Revision 1.12 / (download) - annotate - [select for diffs], Tue Nov 23 20:55:44 2021 UTC (14 months, 1 week ago) by wiz
Branch: MAIN
Changes since 1.11: +4 -1 lines
Diff to previous 1.11 (colored)

llvm: update llvm and friends to 13.0.0

Tested on NetBSD-current and 9.1/amd64.

Also update packages tightly coupled to llvm, if new versions are
available.

Mark creduce, include-what-you-use, and zig broken (waiting for a
new release).

Changes:

Non-comprehensive list of changes in this release

    Windows Control-flow Enforcement Technology: the -ehcontguard
    option now emits valid unwind entrypoints which are validated
    when the context is being set during exception handling.

    Flang is now included in the binary packages released by LLVM.

    The debuginfo-test project has been renamed cross-project-tests
    and is now intended for testing components from multiple
    projects, not just debug information. The new „ŗ◊ńross-project-tests„ŗ    name replaces „ŗ◊Ňebuginfo-test„ŗin LLVM_ENABLE_PROJECTS, and a
    new check-cross-project-tests target has been added for running
    all tests in the project. The pre-existing check-debuginfo-
    test target remains for running just the debug information
    tests. (D95339 and D96513)

Changes to the LLVM IR

    The inalloca attribute now has a mandatory type field, similar
    to byval and sret.

    The opaque pointer type ptr has been introduced. It is still
    in the process of being worked on and should not be used yet.

    Using the legacy pass manager for the optimization pipeline is
    deprecated and will be removed after LLVM 14. In the meantime,
    only minimal effort will be made to maintain the legacy pass
    manager for the optimization pipeline.

Changes to building LLVM

    The build system now supports building multiple distributions,
    so that you can e.g. have one distribution containing just
    tools and another for libraries (to enable development). See
    Multi-distribution configurations for details.

Changes to the AArch64 Backend

    Introduced assembly support for Armv9-A„ŗ—‘ Realm Management
    Extension (RME) and Scalable Matrix Extension (SME).

    Produce proper cross-section relative relocations on COFF

    Fixed the calling convention on Windows for variadic functions
    involving floats in the fixed arguments

Changes to the ARM Backend

    Produce proper cross-section relative relocations on COFF

Changes to the Hexagon Target

    The Hexagon target now supports V68/HVX ISA.

Changes to the C API

    The C API functions LLVMGetAlignment and LLVMSetAlignment now
    allow changing alignment on atomicrmw and cmpxchg instructions

    A new entry LLVMDIArgListMetadataKind was added to the
    LLVMMetadataKind enum, representing DIArgLists (D88175)

    Type attributes have been added to LLVM-C, introducing
    LLVMCreateTypeAttribute, LLVMGetTypeAttributeValue and
    LLVMIsTypeAttribute. (D977763„ŗ

    The LTO_API_VERSION was bumped to 28, introducing a new function
    lto_set_debug_options for parsing LTO debug options (D92611)

    LLVMJITTargetSymbolFlags was renamed to LLVMJITSymbolTargetFlags
    (rG8d718a0bff73af066675a6258c01307937c33cf9)

    The C API received support for creating custom ORCv2
    MaterializationUnits and APIs to retrieve an LLJIT instance„ŗ—‘
    linking layers. An ABI breaking change for LLVMOrcAbsoluteSymbols
    was introduced to make it consistent with
    LLVMOrcCreateCustomMaterializationUnit.
    (rGc8fc5e3ba942057d6c4cdcd1faeae69a28e7b671)

    The C API received support for adding ORCv2 object buffers
    directly to an object layer.
    (rG7b73cd684a8d5fb44d34064200f10e2723085c33)

    A breaking change to LLVMGetInlineAsm was introduced, adding
    a ninth argument LLVMBool CanThrow (D95745)

    The C API received support for calling into the new pass manager.
    (D102136)

    The C API function LLVMIntrinsicCopyOverloadedName has been
    deprecated. Please migrate to LLVMIntrinsicCopyOverloadedName2
    which takes an extra module argument and which also handles
    unnamed types. (D99173)

    The C API received support for dumping objects from ORCv2
    (rGcec8e69f01c3374cb38c6683058381b96fab8f89)

    A breaking change to LLVMOrcObjectTransformLayerTransformFunction
    was introduced, changing the order of the function pointer„ŗ—‘
    arguments. (rG8962c68ad007a525f9daa987c99eda57e0d0069a)

    The C API received support for accessing utilities from the
    LLJIT IRTransformLayer and ThreadSafeModule classes. (D103855)

    The C API received support for creating lazy-export
    MaterializationUnits (D104672)

    The C API function LLVMPassBuilderOptionsSetCoroutines was
    removed because couroutine passes have been enabled by default.
    (D105877)

    comdat noduplicates was renamed to comdat nodeduplicate and as
    a result, LLVMNoDuplicatesComdatSelectionKind was renamed to
    LLVMNoDeduplicateComdatSelectionKind. (D106319)

Changes to the FastISel infrastructure

    FastISel no longer tracks killed registers, and instead leaves
    this to the register allocator. This means that hasTrivialKill()
    is removed, as well as the OpNIsKill parameters to the fastEmit_*()
    family of functions.

Changes to the LLVM tools

    The options --build-id-link-{dir,input,output} have been deleted.
    (D96310)

    Support for in-order processors has been added to llvm-mca.
    (D94928)

    llvm-objdump supports -M {att,intel} now. --x86-asm-syntax is
    a deprecated internal option which will be removed in LLVM
    14.0.0. (D101695)

    The llvm-readobj short aliases -s (previously --sections) and
    -t (previously --syms) have been changed to --syms and
    --section-details respectively, to match llvm-readelf. (D105055)

    The llvm-nm short aliases -M (--print-armap), -U (--defined-only),
    and -W (--no-weak) are now deprecated. Use the long form versions
    instead. The alias --just-symbol-name is now deprecated in
    favor of --format=just-symbols and -j. (D105330)

    In lli the default JIT engine switched from MCJIT (-jit-kind=mcjit)
    to ORC (-jit-kind=orc). (D98931)

    llvm-rc got support for invoking Clang to preprocess its input.
    (D100755)

    llvm-rc got a GNU windres compatible frontend, llvm-windres.
    (D100756)

    llvm-ml has improved compatibility with MS ml.exe, managing to
    assemble more asm files.

Changes to LLDB

    LLDB executable is now included in pre-built LLVM binaries.

    LLDB now includes full featured support for AArch64 SVE register
    access.

    LLDB now supports AArch64 Pointer Authentication, allowing
    stack unwind with signed return address.

    LLDB now supports debugging programs on AArch64 Linux that use
    memory tagging (MTE).

    Added memory tag read and memory tag write commands.

    The memory region command will note when a region has memory
    tagging enabled.

    Synchronous and asynchronous tag faults are recognised.

    Synchronous tag faults have memory tag annotations in addition
    to the usual fault address.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jul 12 18:58:25 2021 UTC (18 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.10: +2 -3 lines
Diff to previous 1.10 (colored)

zig: updated to 0.8.0

0.8.0:

Language Changes

No More Extern or Packed Enums
Require Block After Suspend
@extern
Nameless Tests
@TagType Removed
nosuspend
Add SysV Calling Convention
Wrapping Negation on Unsigned Ints at comptime
@import("builtin") no longer re-exports std.builtin

Revision 1.10 / (download) - annotate - [select for diffs], Wed Apr 21 11:42:07 2021 UTC (21 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

revbump for textproc/icu

Revision 1.9 / (download) - annotate - [select for diffs], Thu Nov 5 09:08:34 2020 UTC (2 years, 2 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

*: Recursive revbump from textproc/icu-68.1

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 2 08:24:13 2020 UTC (2 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Revbump for icu

Revision 1.7 / (download) - annotate - [select for diffs], Thu May 14 17:30:50 2020 UTC (2 years, 8 months ago) by nia
Branch: MAIN
Changes since 1.6: +4 -1 lines
Diff to previous 1.6 (colored)

zig: Installs a script that requires bash.

Replace the interpreter so this doesn't fail with PKG_DEVELOPER.

Please set PKG_DEVELOPER=yes to detect problems like this!

Revision 1.6 / (download) - annotate - [select for diffs], Sat Apr 18 08:08:07 2020 UTC (2 years, 9 months ago) by adam
Branch: MAIN
Changes since 1.5: +4 -3 lines
Diff to previous 1.5 (colored)

zig: updated to 0.6.0

Language Changes in 0.6.0:

Improved names of error sets when using merge error sets operator (||).
pub syntax for container fields is removed.
Type coercion from *[0]T to E![]const T is now allowed. This is an unambiguous, safe cast.
asm now accepts comptime-known values, rather than requiring string literal syntax.
Removed compile error for peer result ?comptime_int and null.
Ability to pass comptime types and non comptime types to same parameter.
@typeOf is renamed to @TypeOf. zig fmt automatically performs the conversion, and the next release of Zig after this one will remove the automatic conversion.
Ability to switch on pointer types.
Multiline strings in test and library names are disallowed.
Zig language no longer requires the expression a else unreachable with comptime a to produce a comptime result.
Timon Kruiper implemented casting between [*c]T and ?[*:0]T on fn parameter.
Timon Kruiper improved @typeInfo to lazily resolve declarations. This way all the declarations in a namespace won't be resolved until the user actually uses the declarations slice in the builtin TypeInfo union.
@ptrCast supports casting a slice to a pointer.
LemonBoy implemented peer type resolution between ?[]T and *[N]T.
There is now peer type resolution between mixed-const []T and *[N]T.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 25 22:27:20 2020 UTC (2 years, 10 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.4: +4 -5 lines
Diff to previous 1.4 (colored)

zig: Update to 0.5.0. Unbreak.

This version of zig supports the current version of llvm in pkgsrc (9).

Some patches from TheLemonMan were backported by me to fix NetBSD support.

Release notes: https://ziglang.org/download/0.5.0/release-notes.html

Revision 1.4 / (download) - annotate - [select for diffs], Fri Mar 20 11:42:38 2020 UTC (2 years, 10 months ago) by tnn
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

zig: mark as BROKEN (needs update due to lang/llvm update)

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 2 15:02:27 2019 UTC (3 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

zig: updated to 0.4.0

0.4.0:
LLVM 8
FreeBSD Support
NetBSD Support
WebAssembly Support
64-bit ARM Linux Support
UEFI Support
Tier System

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 27 10:46:16 2019 UTC (3 years, 11 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.1: +5 -10 lines
Diff to previous 1.1 (colored)

zig: update to today's (2019-02-27) snapshot of master.

Allows us to drop all the local patches that were merged upstream.
lld is not a dependency, zig by default bundles lld and doesn't use
an external one. comment it.

Andrew Kelley (62):
      Merge pull request #1975 from BenoitJGirard/master
      Merge pull request #1963 from matthew-mcallister/dedup-compile-log-warning
      Merge pull request #1972 from coypoop/netbsd
      README: add NetBSD to support table
      pull request fixups
      Merge branch 'emekoi-fix-1711'
      export _mh_execute_header with weak linkage
      docs: note top level declarations are order-independent
      docs: shadowing
      zig fmt: fix infix operator before multiline string literal
      add test for 74bdc1d1f898705
      Merge branch 'kristate-zig-backport-issue1944'
      remove --no-rosegment workaround now that valgrind bug is fixed
      valgrind client requests for undefined values
      Merge branch 'slice-deref-failure' of https://github.com/matthew-mcallister/zig into matthew-mcallister-slice-deref-failure
      pull request fixups
      Merge branch 'matthew-mcallister-slice-deref-failure'
      deduplicate compile errors for undeclared identifiers
      packed structs support comptime bitcasting
      extern structs support comptime bitcasting
      `@sliceToBytes` works at comptime
      better handling of arrays in packed structs
      better field access of types which have one possible value
      fix `@bitCast` when src/dest types have mismatched handle_is_ptr
      docs for packed structs
      add regression test for bitcast to array
      implement vector negation
      better libc detection (#1996)
      introduce std.debug.captureStackTrace
      fix `zig fmt` arg0 handled incorrectly
      add `zig cc` command to act like a C compiler
      zig cc: remove "polly" which was an undefined symbol on macos
      zig cc: work around clang calling GetCommandLine on Windows
      Merge pull request #2003 from ziglang/zig-cc
      first class support for compiling C code
      building DLLs on Windows works better
      `@cImport` works with `--cache on`
      Merge pull request #2005 from ziglang/c-source
      zig build: 2 improvements
      fix infinite recursion in type_has_one_possible_value
      delete incorrect TODO comment
      add docs for zero bit types and pointers to zero bit types
      fix not finding libgcc_s when looking for native libc
      add a compile error note when C import fails and not linking libc
      better error message when forgetting to link against libc
      add a regression test for #704
      fix incorrectly trying to memset at comptime
      fix the libc compile error tests to only run on linux
      use -nobuiltininc when compiling c code
      use -nostdinc++ when compiling C code
      use -nostdinc and sometimes -nolibc when compiling C code
      breaking changes to the way targets work in zig
      fix regressions on Windows
      introduce sys_include_dir for when sys/* files are not with stdlib.h
      add builder.addFmt API and use it to test stage1 zig fmt
      fix .gitignore file and add commit missing std lib file
      add test coverage for binary OR on error sets
      add test coverage for type used as switch case
      fix handling when there are multiple externs and
      fix stage1 zig fmt on macos
      improve docs for unions and switching on tagged unions
      windows returns EINVAL for fopen when there is an asterisk in the name

Benoit Jauvin-Girard (1):
      Fix std.math.powi so powi(x, +-0) = 1 for any x.

BenoitJGirard (2):
      Merge pull request #1 from ziglang/master
      Merge pull request #2 from ziglang/master

Jimmi HC (1):
      Fixed std.testing.expectEqual

John Schmidt (2):
      Some function doc tweaks (#1961)
      Add priority queue

LemonBoy (4):
      Silence gcc8 class-memaccess warnings
      Add align attribute for params pointers
      Translate parameterless C functions (#1978)
      Prevent crash in tagged enums rendering (#1986)

Matthew McAllister (3):
      Fix lvalue dereference type checking
      Deduplicate compile log statement warnings
      Check for duped error messages in compile tests

Maya Rashish (3):
      Add NetBSD support
      Undo local, unneeded patch
      Don't provide a bogus definition of EVFILT_USER

Quetzal Bradley (1):
      fix openWriteNoClobber and add test

emekoi (1):
      make @enumToInt work on union(enum)

kristopher tate (1):
      src/analyze.cpp: default to using `param_node` upon callconv error;

Revision 1.1 / (download) - annotate - [select for diffs], Sun Feb 17 12:33:40 2019 UTC (3 years, 11 months ago) by maya
Branch: MAIN

Add zig 0.3.0.20190217

Zig is an open-source programming language designed for robustness,
optimality, and clarity.

* Robust - behavior is correct even for edge cases such as out
  of memory.
* Optimal - write programs the best way they can
  behave and perform.
* Clear - precisely communicate your intent
  to the compiler and other programmers. The language imposes a
  low overhead to reading code.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>