Commits

move misc_errors from linker to Compilation

6509c492ad • Andrew Kelley • Jan 2, 2024

frontend: make dll_export_fns=false on non-windows

791e83c223 • Andrew Kelley • Jan 2, 2024

Compilation: inline the flush function

476484f09c • Andrew Kelley • Jan 2, 2024

glibc: fix crash from not setting owner module

4c3342ed76 • Andrew Kelley • Jan 2, 2024

Compilation: fix whole mode cache hash

7f13754778 • Andrew Kelley • Jan 2, 2024

Compilation: consolidate module hashing code

5b05e99dd4 • Andrew Kelley • Jan 2, 2024

move eh_frame_hdr from link.File to Compilation

372b407740 • Andrew Kelley • Jan 2, 2024

move force_undefined_symbols into Compilation

435b74acd6 • Andrew Kelley • Jan 2, 2024

update stack trace tests to account for new defaults

c8c32a0569 • Andrew Kelley • Jan 2, 2024

std.Build: add error_tracing field to addExecutable and friends

beed47e8c3 • Andrew Kelley • Jan 2, 2024

zig build: reintroduce --prominent-compile-errors

190f6038bf • Andrew Kelley • Jan 2, 2024

update zig1.wasm

5e2035da14 • Andrew Kelley • Jan 2, 2024

std.Build.Step.Compile: support modules with different args

1ef4df9044 • Andrew Kelley • Jan 2, 2024

Compilation: several branch regression fixes

524dc756b3 • Andrew Kelley • Jan 2, 2024

compiler: push entry symbol name resolution into the linker

57562c8d50 • Andrew Kelley • Jan 2, 2024

frontend: remove deprecated field from Compilation

c9fe43679f • Andrew Kelley • Jan 2, 2024

frontend: avoid spurious error when no zcu

6beae6c061 • Andrew Kelley • Jan 2, 2024

frontend: fix "any" default resolution ambiguity

951c5b3f67 • Andrew Kelley • Jan 2, 2024

link.File.Elf: bump 32-bit image_base default to 64K

b8a8fb927b • Andrew Kelley • Jan 2, 2024

CLI: fix logic for zig test error message

4c07d41b52 • Andrew Kelley • Jan 2, 2024

fix MachO linking

b36659c972 • Andrew Kelley • Jan 2, 2024

link.File.Coff: fix relationship between createEmpty/open

944b0ef518 • Andrew Kelley • Jan 2, 2024

frontend: skip astgen for builtin.zig

98dd4f7847 • Andrew Kelley • Jan 2, 2024

compiler: fix UAF when writing builtin.zig

4f8a44cd0f • Andrew Kelley • Jan 2, 2024

fix logic for default entry point

44e2dbe117 • Andrew Kelley • Jan 2, 2024

link.Wasm: fix relationship between createEmpty/open

1edcea9ec8 • Andrew Kelley • Jan 2, 2024

link.Elf: truncate=true in createEmpty

981166e33f • Andrew Kelley • Jan 2, 2024

Zcu: mark outdated decl handling as unreachable from only_c builds

4d28db7329 • Andrew Kelley • Jan 2, 2024

Package.Module: fix typo in default red-zone setting

edccd68adf • Andrew Kelley • Jan 2, 2024

Compilation.Config.resolve: explicit error set

41ab64c3eb • Andrew Kelley • Jan 2, 2024

update bootstrap scripts to new zig CLI

8cf2cfc52c • Andrew Kelley • Jan 2, 2024

CLI: update main usage text

24eec48f60 • Andrew Kelley • Jan 2, 2024

CLI: fix logic for sending output file path

9141e1a29c • Andrew Kelley • Jan 2, 2024

CLI: fix not respecting module remappings

e12e296306 • Andrew Kelley • Jan 2, 2024

zig build: fix logic for extracting executable file from Compilation

3262e9ccee • Andrew Kelley • Jan 2, 2024

zig build: pass resolved_target to Module.create

3b36c4d0b3 • Andrew Kelley • Jan 2, 2024

CLI: rename clang_argv to cc_argv

056f04c1ff • Andrew Kelley • Jan 2, 2024

CLI: better error messages for bad args

fad35835aa • Andrew Kelley • Jan 2, 2024

std.Build.Step.Options: update unit test to new API

76c4781578 • Andrew Kelley • Jan 2, 2024

resolve error tracing logic at module creation time

529d01c2ba • Andrew Kelley • Jan 2, 2024

CLI: fix regressed logic for any_dyn_libs

8944dea23f • Andrew Kelley • Jan 2, 2024

CLI: mark any_dyn_libs=true when encountering a shared object

db2ca2ca00 • Andrew Kelley • Jan 2, 2024

std.Build.Step.Compile: restore previous step name

ca77c3bacc • Andrew Kelley • Jan 2, 2024

fix compilations without zig compilation units

4b667e7362 • Andrew Kelley • Jan 2, 2024

frontend: fix handling of special builtin module

fe87bae7e3 • Andrew Kelley • Jan 2, 2024

fix --show-builtin when no positional argument is provided

90cc408c14 • Andrew Kelley • Jan 2, 2024

fix memory leak in addModuleTableToCacheHash

38f2172b0a • Andrew Kelley • Jan 2, 2024

fix entry symbol name on mips

a3ff4d9b45 • Andrew Kelley • Jan 2, 2024

linker: rename intermediary_basname to zcu_object_sub_path

2d2a18831e • Andrew Kelley • Jan 2, 2024

Compilation: don't store arena until it's done being used

9b98d33d0b • Andrew Kelley • Jan 2, 2024

fix compilation errors when enabling llvm

f256431838 • Andrew Kelley • Jan 2, 2024

compilation: fix build artifact communication from sub-compilation

57afdfc8fa • Andrew Kelley • Jan 2, 2024

Elf: fix invalid free of path field

b1fc3fe1c4 • Andrew Kelley • Jan 2, 2024

Elf: fix createEmpty not creating the file

e3409c0bce • Andrew Kelley • Jan 2, 2024

fix population of builtin.zig not making the parent dir

0be97b5ae3 • Andrew Kelley • Jan 2, 2024

std.fs.Dir.atomicFile: provide an option for make path

d71e6273b6 • Andrew Kelley • Jan 2, 2024

Compilation: oops! used comp before init

9715936472 • Andrew Kelley • Jan 2, 2024

MachO: rip out the caching mechanism

b6dd5ad357 • Andrew Kelley • Jan 2, 2024

fix remaining compile errors except one

2047a6b82d • Andrew Kelley • Jan 2, 2024

linker: fix some allocator references

4629708787 • Andrew Kelley • Jan 2, 2024

fix more compilation errors introduced by this branch

48d5861f92 • Andrew Kelley • Jan 2, 2024

move dll_export_fns and rdynamic to Compilation.Config

638db680f4 • Andrew Kelley • Jan 2, 2024

update codegen.llvm references to bin_file.options

b54ad93175 • Andrew Kelley • Jan 2, 2024

glibc: update to new Compilation API

92b54e50c8 • Andrew Kelley • Jan 2, 2024

tsan: update to new Compilation API

ea0ba4f2b5 • Andrew Kelley • Jan 2, 2024

libcxx: update to new Compilation API

a1236b32f9 • Andrew Kelley • Jan 2, 2024

update bin_file.options references in Sema

2596f5d925 • Andrew Kelley • Jan 2, 2024

musl: update references to bin_file.options

7e7d5dc958 • Andrew Kelley • Jan 2, 2024

linker: remove bad NvPtx flushModule implementation

6b44bddf5d • Andrew Kelley • Jan 2, 2024

fix a round of compile errors caused by this branch

c49957dbe8 • Andrew Kelley • Jan 2, 2024

compiler: miscellaneous branch progress

f54471b54c • Andrew Kelley • Jan 2, 2024

Compilation: redo whole vs incremental logic in create and update

769dea6e37 • Andrew Kelley • Jan 2, 2024

compiler: update many references to bin_file.options

33cdf33b95 • Andrew Kelley • Jan 2, 2024

update bin_file.options references in Module (Zcu)

b162c3c820 • Andrew Kelley • Jan 2, 2024

compiler: update references to target

bc4d2b646d • Andrew Kelley • Jan 2, 2024

update libunwind references to bin_file.options

1642c003b4 • Andrew Kelley • Jan 2, 2024

update references to module (to be renamed to zcu)

f5ddef1e45 • Andrew Kelley • Jan 2, 2024

remove parent_compilation_link_libc

41a8f5aec3 • Andrew Kelley • Jan 2, 2024

linkers: update references to "options" field

0789e91eeb • Andrew Kelley • Jan 2, 2024

update image_base references

3b6cb257df • Andrew Kelley • Jan 2, 2024

compiler: update references to single_threaded

9a48a5ab07 • Andrew Kelley • Jan 2, 2024

frontend: fix stack protector option logic

43720be04a • Andrew Kelley • Jan 2, 2024

linker: update target references

5a6a1f8a8a • Andrew Kelley • Jan 2, 2024

linker: update options references of CsuObjects

98da660e45 • Andrew Kelley • Jan 2, 2024

linker: update link_mode references

b5e2af49a0 • Andrew Kelley • Jan 2, 2024

linker: update output_mode references

6ec6c07795 • Andrew Kelley • Jan 2, 2024

linker: update references to module

2be36c5b8d • Andrew Kelley • Jan 2, 2024

move a large chunk of linker logic away from "options"

2bef0715c7 • Andrew Kelley • Jan 2, 2024

WIP: move many global settings to become per-Module

12de7e3472 • Andrew Kelley • Jan 2, 2024

std.Build.ResolvedTarget: rename target field to result

b92e30ff0b • Andrew Kelley • Jan 2, 2024

update docgen for std Target.Query API breaks

f5613a0e35 • Andrew Kelley • Jan 2, 2024

std.Target.Query: fix regression with windows os version range

8d5da55588 • Andrew Kelley • Jan 2, 2024

compiler: get the dynamic linker from the target

77420af9d0 • Andrew Kelley • Jan 2, 2024

resinator: update std.Target.Query usage

ce94c28e53 • Andrew Kelley • Jan 2, 2024

std.Build: fix userInputOptionsFromArgs ResolvedTarget

3e52302644 • Andrew Kelley • Jan 2, 2024

std.Target.Query: remove deprecated API

8c44954bc6 • Andrew Kelley • Jan 2, 2024

std.Target: add DynamicLinker

dbdb87502d • Andrew Kelley • Jan 2, 2024

rename std.zig.CrossTarget to std.Target.Query

3179f58c41 • Andrew Kelley • Jan 2, 2024

std.Target: flatten

67d48b94d6 • Andrew Kelley • Jan 2, 2024

fix infinite loop in Run step

767eb5da77 • Andrew Kelley • Jan 2, 2024