aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-03-15macho: fix a sad typo in calculating the address of a TLV pointerJakub Konka
2024-03-14coff: only store PDB basenameElaine Gibson
2024-03-14Merge pull request #19273 from mlugg/incremental-some-moreMatthew Lugg
compiler: more progress on incremental
2024-03-14reduce garbage for repeated `zig cc -` callsMotiejus Jakštys
Context: user provides `-` to read from stdin instead of a file. Before: it would create a file in $ZIG_LOCAL_CACHE_DIR/tmp/ for each invocation and leave it there. After: it hashes the file contents and renames the file to the hash. Result: repeated invocations of `zig cc` do not cause so much trash to be created.
2024-03-14Zcu: preserve ordering of `usingnamespace` declsmlugg
See comment. This slightly regresses a previous fix from this branch. A proper solution will come soon, with the splitting up of `Decl` into `Cau` and `Nav`.
2024-03-14Zcu: perform orphan checks against uncoerced functionmlugg
2024-03-14compiler: add `func_ies` incremental dependenciesmlugg
This was an oversight in my original design. This new form of dependency is invalidated when the resolved IES for a runtime function changes.
2024-03-14compiler: progress towards incrementalmlugg
Most basic re-analysis logic is now in place. Trivial updates are hitting linker assertions.
2024-03-14Zcu: handle updates to file root structmlugg
2024-03-14Zcu: handle incremental updates (more) correctly when scanning namespacesmlugg
2024-03-14Zcu: convert Decl.zir_inst_index to a TrackedInst.Index.Optionalmlugg
This makes tracking easier across incremental updates: `scanDecl` can now tell whether an existing decl in a namespace was mapped to the one it's analyzing in the new ZIR.
2024-03-14Zcu: remove old decls after scanning namespacemlugg
2024-03-14Zcu: rename implicitly-named decls to avoid overriding by explicit declsmlugg
2024-03-14compiler: detect duplicate test names in AstGenmlugg
There is no reason to perform this detection during semantic analysis. In fact, doing so is problematic, because we wish to utilize detection of existing decls in a namespace in incremental compilation.
2024-03-12elf: re-use output buffer for emitting thunksJakub Konka
2024-03-12elf+aarch64: fix off-by-one in converging on groups interleaved with thunksJakub Konka
2024-03-12elf+aarch64: actually write out thunks, and add a proper link testJakub Konka
2024-03-11Merge pull request #19229 from tiehuis/ryu-128Andrew Kelley
std.fmt: add ryu floating-point formatting implementation
2024-03-11Merge pull request #19174 from squeek502/lazy-resinatorAndrew Kelley
Lazily compile the `zig rc` subcommand and use it during `zig build-exe`, etc
2024-03-11Merge pull request #19155 from ianic/tar_max_file_sizeAndrew Kelley
std.tar: error on insufficient buffers provided to iterator
2024-03-11package: remove git fetch zlib lookahead fixIgor Anić
My first zlib implementation broke git fetch because it introduce [lookahead](https://github.com/ziglang/zig/issues/18967). That resulted in workarounds [1](https://github.com/ziglang/zig/commit/80f3ef6e14a1213d1c3b31d515870afb43cc9379) [2](https://github.com/ziglang/zig/commit/d00faa2407cdeaa058da62f2d95f64f9e7ed6a09) After [fixing](https://github.com/ziglang/zig/pull/19163) lookahead in zlib decompressor this fixes are no longer necessary.
2024-03-11std.builtin: make atomic order fields lowercaseTristan Ross
2024-03-11std.builtin: make global linkage fields lowercaseTristan Ross
2024-03-11std.builtin: make float mode fields lowercaseTristan Ross
2024-03-11std.builtin: make link mode fields lowercaseTristan Ross
2024-03-11std.builtin: make container layout fields lowercaseTristan Ross
2024-03-11Fix progress when multiple zig rc child processes are building resinatorRyan Liptak
2024-03-11Report the progress of lazily building zig rcRyan Liptak
jitCmd now takes a `server` option that will emit progress/errors via std.zig.Server when enabled.
2024-03-11Integrate resinator errors with Zig using std.zig.Server and ErrorBundleRyan Liptak
This takes the code that was previously in src/Compilation.zig to turn resinator diagnostics into Zig error bundles and puts it in resinator/main.zig, and then makes resinator emit the resulting error bundles via std.zig.Server (which is used by the build runner, etc). Also adds support for turning Aro diagnostics into ErrorBundles.
2024-03-11Lazily compile the `zig rc` subcommand and use it during `zig build-exe`Ryan Liptak
This moves .rc/.manifest compilation out of the main Zig binary, contributing towards #19063 Also: - Make resinator use Aro as its preprocessor instead of clang - Sync resinator with upstream
2024-03-11std.tar: fix broken public interfaceIgor Anić
2024-03-10add missing field to module creationAndrew Kelley
Fixes a merge conflict with one of mlugg's recent branches.
2024-03-10fix 32 bit compilationAndrew Kelley
2024-03-10autodocs: fix root name and missing dir closeAndrew Kelley
2024-03-10-femit-docs: create main.wasm artifactAndrew Kelley
2024-03-10-femit-docs: creating sources.tarAndrew Kelley
It's always a good day when you get to use File.writeFileAll 😎
2024-03-10frontend: skeleton for creating autodocsAndrew Kelley
This time, unlike the old implementation, it properly does autodoc generation during the compilation pipeline, saving time.
2024-03-10add `zig std` subcommandAndrew Kelley
2024-03-10better to use AST than ZIR for doc generationAndrew Kelley
2024-03-10Merge pull request #19225 from ziglang/elf-aarch64Jakub Konka
elf: port aarch64 support from zld
2024-03-10wasm/codegen: add "and" + "or" impl for big intsMarc Tiehuis
2024-03-09elf+aarch64: handle PREL64 relocJakub Konka
2024-03-09elf+aarch64: fix 32bit buildJakub Konka
2024-03-09Sema: perform codegen for anon decl created by `@extern`mlugg
This fixes a bug where, at least with the LLVM backend, `@extern` calls which had the same name as a normal `extern` in the same Zcu would result in the `@extern` incorrectly suffixing the identifier `.2`. Usually, the LLVM backend has a system to change the generated globals to "collapse" them all together, but it only works if `updateDecl` is called!
2024-03-08elf+aarch64: implement basic thunk supportJakub Konka
2024-03-08elf+aarch64: handle PREL32 relocJakub Konka
2024-03-08elf+aarch64: handle TLS GD modelJakub Konka
2024-03-08elf+aarch64: handle gottp and .tls_commonJakub Konka
2024-03-08elf+aarch64: fix incorrectly emitted TLSDESC relocsJakub Konka
2024-03-08elf+aarch64: set _GLOBAL_OFFSET_TABLE_ to .got sectionJakub Konka