0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/src
Stephen Gutekanst e41d4df93c enable passing build-[lib|exe|obj] params via @args.rsp file
This change enables `zig build-lib` and friends to take a response file
of command line arguments, for example:

```sh
zig build-lib @args.rsp
```

Which effectively does the same thing as this in Bash:

```sh
zig build-lib $(cat args.rsp)
```

Being able to use a file for arguments is important as one can quickly
exceed the 32 KiB limit that Windows imposes on arguments to a process.

Helps #10693

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
History 2022-02-20 13:50:09 -07:00
..
arch stage2: fix typo in riscv64/Emit.zig 2022-02-20 19:10:54 +01:00
codegen Merge pull request #10924 from ziglang/air-independence-day 2022-02-19 02:57:48 -05:00
link wasm-linker: Simplify symbol names 2022-02-17 18:11:48 +01:00
stage1 Merge pull request #10858 from topolarity/stage2-bitcast 2022-02-18 13:49:00 -05:00
translate_c allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
Air.zig Merge pull request #10924 from ziglang/air-independence-day 2022-02-19 02:57:48 -05:00
AstGen.zig AstGen: emit break_inline for corresponding inline loops 2022-02-19 20:26:57 -07:00
BuiltinFn.zig AstGen: implement @prefetch() builtin 2021-12-10 23:09:02 +01:00
Cache.zig fs: Use OpenMode enum instead of read/write flags. 2022-01-29 15:52:08 +02:00
clang.zig stage1, stage2: rename c_void to anyopaque (#10316) 2021-12-19 00:24:45 -05:00
clang_options.zig zig cc: honor all -m and -mno- CPU feature flags 2021-11-26 19:59:33 -07:00
clang_options_data.zig stage2: improvements to entry point handling 2022-01-19 11:41:08 -07:00
codegen.zig elf: store pointer relocations indexed by containing atom 2022-02-11 10:52:13 +01:00
Compilation.zig stage2: make AIR not reference ZIR for inline assembly 2022-02-18 19:41:32 -07:00
config.zig.in macho: dump linker's state as JSON 2021-10-22 12:50:25 +02:00
crash_report.zig stage2: fix crash_report segfault compile error 2022-02-07 17:11:26 -08:00
DepTokenizer.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
empty.zig fix wrong entrypoint, undefined package, and wrong build option 2020-12-07 17:27:09 -07:00
glibc.zig glibc: clean up build logic 2022-01-14 12:39:06 -07:00
InternArena.zig stage2: update to new ArrayHashMap API 2022-01-31 21:12:37 -07:00
introspect.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
libc_installation.zig Avoid depending on child process execution when not supported by host OS 2022-02-06 22:21:46 -07:00
libcxx.zig remove __muloti4 from libc++ 2022-01-30 14:30:46 +01:00
libtsan.zig stage2: fix path to cache artifacts in libcxx, 2022-01-02 13:16:17 -07:00
libunwind.zig stage2: fix path to cache artifacts in libcxx, 2022-01-02 13:16:17 -07:00
link.zig elf: store pointer relocations indexed by containing atom 2022-02-11 10:52:13 +01:00
Liveness.zig Merge pull request #10924 from ziglang/air-independence-day 2022-02-19 02:57:48 -05:00
main.zig enable passing build-[lib|exe|obj] params via @args.rsp file 2022-02-20 13:50:09 -07:00
mingw.zig Avoid depending on child process execution when not supported by host OS 2022-02-06 22:21:46 -07:00
Module.zig stage2: eliminate ZIR arg instruction references to ZIR 2022-02-18 16:56:12 -07:00
musl.zig stage2: introduce CacheMode 2022-01-02 13:16:17 -07:00
Package.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
print_air.zig Merge pull request #10924 from ziglang/air-independence-day 2022-02-19 02:57:48 -05:00
print_env.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
print_targets.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
print_zir.zig stage2: add decltests 2022-02-13 14:42:20 +02:00
RangeSet.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
register_manager.zig stage2 regalloc: track Inst instead of ?Inst in register mapping 2022-02-13 23:24:26 +01:00
Sema.zig Sema: fix inline break from a non-comptime scope to outer one 2022-02-20 00:20:29 -07:00
stage1.zig std.Progress: make the API infallible 2022-02-08 17:26:55 -07:00
target.zig CLI: ignore -lgcc_s when it is redundant with compiler-rt 2022-02-09 11:38:33 -07:00
test.zig update more API usage of std.Progress 2022-02-08 17:49:40 -07:00
ThreadPool.zig Avoid depending on child process execution when not supported by host OS 2022-02-06 22:21:46 -07:00
tracy.zig lint: duplicate import (#10519) 2022-01-07 00:06:06 -05:00
translate_c.zig stage1: remove the data field from TypeInfo.Declaration 2022-01-31 22:09:41 -07:00
type.zig Sema: fix inline break from a non-comptime scope to outer one 2022-02-20 00:20:29 -07:00
TypedValue.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
value.zig stage2: Fix 32bit builds 2022-02-20 18:16:28 +01:00
WaitGroup.zig std.Thread.Mutex: change API to lock() and unlock() 2021-11-09 18:31:03 -07:00
wasi_libc.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
windows_com.hpp Spelling corrections (#9833) 2021-09-24 13:39:20 -04:00
windows_sdk.cpp finalize windows_sdk paths based on snickler suggestions 2021-09-07 21:49:08 -06:00
windows_sdk.h fix regressed stage2 test harness 2020-09-21 21:14:01 -07:00
windows_sdk.zig stage2: update for new usingnamespace semantics 2021-09-01 17:54:07 -07:00
zig_clang.cpp translate-c: create inline fn for always_inline 2021-10-20 17:58:30 -04:00
zig_clang.h translate-c: create inline fn for always_inline 2021-10-20 17:58:30 -04:00
zig_clang_cc1_main.cpp update clang tools to 13 rc1 2021-08-15 18:06:29 -07:00
zig_clang_cc1as_main.cpp update clang tools to 13 rc1 2021-08-15 18:06:29 -07:00
zig_clang_driver.cpp update clang tools to 13 rc1 2021-08-15 18:06:29 -07:00
zig_llvm-ar.cpp Merge remote-tracking branch 'origin/master' into llvm13 2021-09-30 21:38:04 -07:00
zig_llvm.cpp stage2: LLVM backend: fix lowering of union constants 2021-12-28 01:53:58 -07:00
zig_llvm.h stage2: LLVM backend: fix lowering of union constants 2021-12-28 01:53:58 -07:00
Zir.zig stage2: add decltests 2022-02-13 14:42:20 +02:00