| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Add a few missing deallocations of temporaries to stage1
|
|
The builtin folds a Vector(N,T) into a scalar T using a specified
operator.
Closes #2698
|
|
|
|
Now it is Dynamic unless -DZIG_STATIC=on is passed to cmake.
This partially addresses #6469.
|
|
|
|
|
|
This reverts commit c8b4cc2ff9cf15a42f95b2302e02431a0004f5c8.
This includes many C++ standard library headers:
#include <algorithm>
#include <chrono>
#include <ctime>
#include <iomanip>
#include <ios>
#include <iostream>
#include <memory>
#include <sstream>
#include <string>
#include <tuple>
#include <type_traits>
#include <vector>
which adds more than a second of compile time for each file that
includes the header:
ir.cpp before: 8.041s
ir.cpp after: 6.847s
|
|
tadeokondrak/enums-explicit-tag-type-extern-allowed
Allow enums with explicit extern-allowed tag types in extern types
|
|
Closes https://github.com/ziglang/zig/issues/1467
|
|
All integers in TypeInfo are intentionally comptime_int:
https://github.com/ziglang/zig/issues/1683
|
|
|
|
|
|
|
|
Closes https://github.com/ziglang/zig/issues/6122
|
|
|
|
|
|
|
|
Fixes https://github.com/ziglang/zig/issues/6459
|
|
The changes to install_files.h needed to put into src/libcxx.zig
|
|
|
|
|
|
still TODO is the task of creating import .lib files for DLLs on the fly
both for -lfoo and for e.g. `extern "kernel32"`
|
|
* std.log: still print error messages in ReleaseSmall builds.
- when start code gets an error code from main, it uses std.log.err
to report the error. this resulted in a test failure because
ReleaseSmall wasn't printing `error: TheErrorCode` when an error
was returned from main. But that seems like it should keep working.
So I changed the std.log defaults. I plan to follow this up with a
proposal to change the names of and reduce the quantity of the
log levels.
* warning emitted when using -femit-h when using stage1 backend; fatal
log message when using -femit-h with self-hosted backend (because the
feature is not yet available)
* fix double `test-cli` build steps in zig's build.zig
* update docgen to use new CLI
* translate-c uses `-x c` and generates a temporary basename with a
`.h` extension. Otherwise clang reports an error.
* --show-builtin implies -fno-emit-bin
* restore the compile error for using an extern "c" function without
putting -lc on the build line. we have to know about the libc
dependency up front.
* Fix ReleaseFast and ReleaseSmall getting swapped when passing the
value to the stage1 backend.
* correct the zig0 CLI usage text.
* update test harness code to the new CLI.
|
|
|
|
These CLI options are now forwarded to the stage1 backend.
We're not going to support the -mllvm CLI option any longer. As a
compromise, we unconditionally tell LLVM to output intel x86 syntax when
using -femit-asm.
Simplify stage1 logic; it no longer has the concept of an output
directory. --output-dir is no longer a valid CLI option. cmake uses
the `-femit-bin=[path]` option.
Note the changes to test/cli.zig. This breaks the CLI API that Godbolt
is using so we're going to want to open a PR to help them upgrade to the
new CLI for the upcoming Zig 0.7.0 release.
|
|
Also rename Cache.CacheHash to Cache.Manifest
|
|
|
|
|
|
|