Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minimal compiler changes so that you can compile to nvptx #1

Closed
wants to merge 2,860 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2860 commits
Select commit Hold shift + click to select a range
c3b85e4
Sema: further enhance explanation of why expr is evaluated at comptime
Vexu Oct 27, 2022
6fc7183
value: properly hash `null_value` pointer
Vexu Oct 27, 2022
d6943f8
NativeTargetInfo: remove unused error
alichraghi Oct 25, 2022
f28e4e0
std.sign.ecdsa: add support for incremental signatures (#13332)
jedisct1 Oct 28, 2022
c639c22
std.mem: Add readPackedInt, writePackedInt, etc.
topolarity Oct 18, 2022
3295fee
stage2: Use mem.readPackedInt etc. for packed bitcasts
topolarity Oct 18, 2022
9d0a4b6
Value: Add `@intCast` in `writeToPackedMemory` for 32-bit targets
topolarity Oct 19, 2022
03ed0a5
std.mem: Skip `read/writePackedInt` test on WASM32/64
topolarity Oct 19, 2022
bd32206
Merge pull request #13322 from Vexu/comptime-reason
Vexu Oct 28, 2022
40b7792
Enable bitcast test now that #13214 is resolved.
topolarity Oct 28, 2022
c616141
translate-c: Better support for division in macros
ehaas Oct 28, 2022
10edb6d
crypto.sha2: Use intrinsics for SHA-256 on x86-64 and AArch64
topolarity Oct 23, 2022
ee241c4
std.crypto: SHA-256 Properly gate comptime conditional
topolarity Oct 24, 2022
4c1f71e
std.crypto: Optimize SHA-256 intrinsics for AMD x86-64
topolarity Oct 24, 2022
f9fe548
std.crypto: Add `isComptime` guard around intrinsics
topolarity Oct 28, 2022
84e0c14
CLI: report error when `-fstage1` requested but not available
andrewrk Oct 28, 2022
67fa326
std.crypto: Use `featureSetHas` to gate intrinsics
topolarity Oct 29, 2022
c66d3f6
Enhance indexOfIgnoreCase with Boyer-Moore-Horspool algorithm
tensorush Oct 18, 2022
c36eb4e
Merge pull request #13221 from topolarity/packed-mem
andrewrk Oct 29, 2022
20925b2
Merge pull request #13272 from topolarity/sha2-intrinsics
andrewrk Oct 29, 2022
48a2783
cbe: implement optional slice representation change
jacobly0 Oct 29, 2022
61f5ea4
Sema: add error note for wrong pointer dereference syntax
Vexu Oct 28, 2022
1ea1228
Sema: fix floatToInt to zero bit ints
Vexu Oct 28, 2022
9607bd9
parser: improve error message for missing var/const before local vari…
Vexu Oct 28, 2022
d731455
Sema: improve compile error for casting double pointer to anyopaque p…
Vexu Oct 28, 2022
5321afc
stage2: make switch on corrupt value panic point to switch condition
Vexu Oct 28, 2022
278c329
parser: add helpful error for extra = in variable initializer
Vexu Oct 28, 2022
7705a4e
Sema: wrap optionals in `zirPtrCast` when needed
Vexu Oct 29, 2022
4cfeb9a
glibc: fix race condition when building stubs
andrewrk Oct 29, 2022
3e926d8
CI: update freebsd tarball
andrewrk Oct 29, 2022
a70c86e
Fix deprecation docs for isAlpha and isCntrl
FnControlOption Oct 29, 2022
e036cc4
Merge pull request #13342 from ziglang/fix-glibc-race
andrewrk Oct 29, 2022
4364f51
cbe: finish partial zig_noreturn rewrite
jacobly0 Oct 29, 2022
33fdc43
std.fs: Add MAX_NAME_BYTES
squeek502 Oct 14, 2022
c6ff1a7
Windows: Fix iterator name buffer size not handling all possible file…
squeek502 Oct 14, 2022
dd0962d
Add wasi branch to MAX_NAME_BYTES
squeek502 Oct 14, 2022
c5d2316
Set wasi MAX_NAME_BYTES to minimum of the rest of the supported platf…
squeek502 Oct 14, 2022
348f735
Make MAX_NAME_BYTES on WASI equivalent to the max of the other platforms
squeek502 Oct 14, 2022
db80225
fs: Some NAME_MAX/MAX_NAME_BYTES improvements
squeek502 Oct 28, 2022
28dc208
Merge pull request #13082 from g-w1/unnamed-decls-and-relocs-p9
andrewrk Oct 29, 2022
949cca9
Allocator: fix len_align calc in large type size case
kkHAIKE Sep 15, 2022
09a96cd
Fix #12822: Clarify langref about the behavior of undefined
Sep 12, 2022
5f5a20e
Merge pull request #13093 from jacobly0/backend-fixes
andrewrk Oct 30, 2022
209a0d2
Merge pull request #13153 from squeek502/iterator-filename-limits
andrewrk Oct 30, 2022
c8f1ea4
ci: enable aarch64-linux test coverage
andrewrk Oct 30, 2022
fbd1390
CI: drone: shuffle some tests around
andrewrk Oct 30, 2022
5339cac
std: re-enable auto hash test
andrewrk Oct 30, 2022
27bcd4e
macho: do not unnecessarily dupe sym names in resolver
kubkon Oct 27, 2022
9b0c555
macho: fix regression in dead strip for x86_64
kubkon Oct 28, 2022
17df350
CI: disable failing C backend test
andrewrk Oct 30, 2022
2b25d3c
Merge pull request #13356 from ziglang/macho-no-dupe
kubkon Oct 30, 2022
d4487b6
autodoc: update to new func zir body structure
kristoff-it Oct 30, 2022
1696434
Merge pull request #13300 from jcalabro/master
kristoff-it Oct 30, 2022
40e84a2
change uefi packed structs to new integer backed syntax (#13173)
truemedian Oct 30, 2022
8caed48
Merge branch 'ci-enable-aarch64-linux'
andrewrk Oct 30, 2022
2f732de
stage1: Make `x and false`/`x or true` comptime-known
topolarity Oct 30, 2022
5c3a486
AstGen: avoid accessing value from inner scope
jacobly0 Oct 30, 2022
ca332f5
stage2: Make `x and false`/`x or true` comptime-known
topolarity Oct 30, 2022
01d76d4
Sema: avoid comptime null unwrap
jacobly0 Oct 30, 2022
a77d89a
behavior: enable fixed cbe tests
jacobly0 Oct 30, 2022
9b54c9d
zig test: forward target CLI args to zig run when using -ofmt=c
andrewrk Oct 30, 2022
3f30030
std.heap.PageAllocator: add check for large allocation
andrewrk Oct 30, 2022
a5c96c4
langref: mention `void{}` and empty blocks
andrewrk Oct 30, 2022
30b8b29
re-apply "Fix C include files not being in `whole` cache (#11365)"
andrewrk Oct 30, 2022
3e12610
compiler_rt: fix gnu_f16_abi for i386-windows
andrewrk Oct 31, 2022
d4f668b
Merge pull request #13361 from jacobly0/while-cont-scope
andrewrk Oct 31, 2022
6d999ab
mingw-w64: add gdiplus def files
andrewrk Oct 31, 2022
ef761c2
Merge pull request #13360 from topolarity/comptime-bool-binops
andrewrk Oct 31, 2022
d022426
std.heap: make wasm32 PageAllocator handle large allocation
andrewrk Oct 31, 2022
6f2408a
link/MachO: Avoid depending on host PATH_MAX
topolarity Oct 31, 2022
049e602
stage2: Add explicit type qualifier to workaround #13366
topolarity Oct 31, 2022
0c17017
Release 0.10.0
andrewrk Oct 31, 2022
841235b
start the 0.11.0 release cycle
andrewrk Oct 31, 2022
cbdc91e
stage2: fix compilation on 32-bit arm
andrewrk Oct 31, 2022
0bbb000
ci: add 0.10.0 release data
andrewrk Oct 31, 2022
b945d3e
cbe: improve support for non-native float types
jacobly0 Nov 1, 2022
b35514e
cbe: disable aarch64 behavior tests that are broken with gcc
jacobly0 Nov 1, 2022
ff83296
cbe: fix gcc warnings
jacobly0 Nov 1, 2022
9e44710
Ed25519.KeyPair.fromSecretKey() didn't compile after the API changes …
jedisct1 Nov 1, 2022
ddb9eac
ed25519: recommend using the seed to recover a key pair
jedisct1 Nov 1, 2022
2943df0
Fix variable name in documentation sample (#13391)
mnordine Nov 1, 2022
66bcc55
llvm: mangle extern Wasm functions
Luukdegram Nov 1, 2022
ef0df24
test/link: add linker test to verify mangling
Luukdegram Nov 1, 2022
1780d7a
Merge pull request #13368 from jacobly0/fix-aarch64-c
andrewrk Nov 1, 2022
0d192ee
std.crypto.onetimeauth.Ghash: make GHASH 2 - 2.5x faster (#13374)
jedisct1 Nov 1, 2022
d2a5a36
stage2 AArch64: implement min/max
joachimschmidt557 Oct 23, 2022
3ecec50
stage2 AArch64: implement basic switch statements
joachimschmidt557 Oct 23, 2022
8a022d9
stage2 AArch64: implement wrap_errunion_{err,payload}
joachimschmidt557 Oct 23, 2022
4e07798
stage2 AArch64: add inline memset
joachimschmidt557 Oct 23, 2022
3051fab
stage2 AArch64: misc fixes, enable printing in test runner
joachimschmidt557 Oct 31, 2022
ebf9ffd
cli: set sysroot when --sysroot option was passed
kubkon Nov 1, 2022
93d60d0
std: avoid vector usage with the C backend
jacobly0 Nov 1, 2022
757db66
build: remove `ofmt` from `LibExeObjStep` which is redundant with `ta…
jacobly0 Nov 1, 2022
91fe0b8
cbe: fix threadlocal
jacobly0 Nov 1, 2022
fb8c08d
cbe: disambiguate struct typedefs with decl index
jacobly0 Nov 1, 2022
8e52be1
cbe: avoid emitting code for zero-bit field access
jacobly0 Nov 1, 2022
071404f
cbe: fix optional access
jacobly0 Nov 1, 2022
0976343
cbe: support arrays in more places
jacobly0 Nov 1, 2022
4d59409
cbe: incorrectly implement volatile memset
jacobly0 Nov 1, 2022
9b2db56
x86: remove inline asm clobbers that conflict with inputs or outputs
jacobly0 Nov 1, 2022
771dadc
x86: cleanup inline asm
jacobly0 Nov 1, 2022
d8635af
cbe: correctly implement volatile memset
jacobly0 Nov 2, 2022
81c2767
Merge pull request #13404 from joachimschmidt557/stage2-aarch64
joachimschmidt557 Nov 2, 2022
c22f17e
stage2 llvm: Respect alignment for `.union_init`
topolarity Nov 1, 2022
5f31070
cbe: hack around invalid Air
jacobly0 Nov 2, 2022
37c104a
cbe: ignore comptime fields when generating tuple typedefs
jacobly0 Nov 2, 2022
57dbeb9
Merge pull request #13396 from Luukdegram/fix-12880
andrewrk Nov 2, 2022
e50789f
Merge pull request #13389 from jacobly0/fix-only-c
andrewrk Nov 2, 2022
98b6099
stage2: Ensure f128 alignment matches c_longdouble alignment
topolarity Nov 1, 2022
b40fc70
std.time: add microTimestamp() (#13327)
mllken Nov 2, 2022
fa46f9a
cbe: fix extern
jacobly0 Nov 3, 2022
4537c1b
cbe: fix crash rendering union with zero-bit tag
jacobly0 Nov 3, 2022
085f6fd
cbe: use wrapping for left shifts
jacobly0 Nov 3, 2022
f02b8a9
cbe: fix padding bits after a bitcast
jacobly0 Nov 3, 2022
b2f8c1f
Merge pull request #13420 from jacobly0/c-backend
Vexu Nov 3, 2022
e64eef3
Translate-C Remainder Macro Fix
IridescentRose Nov 3, 2022
9679353
std.crypto.pwhash.bcrypt: inline the Feistel network function (#13416)
jedisct1 Nov 3, 2022
480c3c4
compiler_rt: fix duplicate symbol error when linking libc on arm64 Wi…
kubkon Nov 3, 2022
3465203
libc: add support for arm64 msvc installation
kubkon Nov 3, 2022
678f3f6
Merge pull request #13276 from r00ster91/stem
Vexu Nov 3, 2022
b19161b
Add docstrings to some functions in std.meta
Aug 29, 2022
577daab
CI: windows: update tarball
Vexu Nov 3, 2022
f5f1f8c
all: rename i386 to x86
alichraghi Oct 7, 2022
42755a1
Merge pull request #13430 from ziglang/stack-probe-msvc
andrewrk Nov 3, 2022
cbed6bb
Sema: make `InferredErrorSet` deterministic
jacobly0 Nov 3, 2022
ea54c9a
Sema: resolve lazy align in zirReify for union fields
micahswitzer Nov 3, 2022
8c4faa5
Merge pull request #13338 from Vexu/stage2-compile-errors
Vexu Nov 4, 2022
986b7ce
rename i386-linux-gnu to x86-linux-gnu
Vexu Nov 4, 2022
64b3ffd
std.os: Add IGN coverage to sigaction tests
ryanschneider Nov 3, 2022
7f1f2e6
std.os: fix alignment of Sigaction.handler_fn
ryanschneider Nov 3, 2022
a68b27c
std.os: improve sigaction test coverage.
ryanschneider Nov 3, 2022
e6b3cb5
Sema: detect division overflow
Vexu Nov 4, 2022
799a558
Sema: implement peer type resolution of function pointers and functio…
Vexu Nov 4, 2022
35afa3f
Sema: correct condition in validateArrayInit
Vexu Nov 4, 2022
42db468
Sema: make method call work with optionals and error unions
Vexu Nov 4, 2022
51b1083
stage2: fix onePossibleValue of empty unions and enums
Vexu Nov 4, 2022
e9a1249
CI: add stage3/stage4 determinism check
andrewrk Nov 4, 2022
1d68045
Merge pull request #13101 from alichraghi/o4
andrewrk Nov 5, 2022
df0212b
aarch64: handle register downgrading in truncRegister
kubkon Nov 4, 2022
1fe0b58
aarch64: extract atom index for both COFF and MachO
kubkon Nov 4, 2022
62ae365
aarch64: implement airCall for COFF
kubkon Nov 4, 2022
53a9661
coff: generate relocations for branch, GOT, direct refs
kubkon Nov 4, 2022
d80203b
coff: clean up relocation handling between x86 and arm64
kubkon Nov 4, 2022
205421c
coff: implement handling of arm64-specific relocs
kubkon Nov 4, 2022
83d89a0
coff: compile and link simple exit program on arm64
kubkon Nov 4, 2022
9618fdc
coff: circumvent stage1 inference problems
kubkon Nov 4, 2022
59fa049
coff: tentatively handle Obj in getImageBase() func
kubkon Nov 4, 2022
165ae04
coff: use .x86 instead of .i386
kubkon Nov 5, 2022
f92e7be
stage2: bitsize of packed struct should trigger backing int ty check
Vexu Nov 4, 2022
28288dc
Merge pull request #13444 from ziglang/arm64-coff
kubkon Nov 5, 2022
f96748e
Sema: coerce elements of array cat
Vexu Nov 4, 2022
ea48f06
stage2: address of threadlocal variable is not comptime known
Vexu Nov 4, 2022
5d28d17
Sema: adjust result type of anyerror field access
Vexu Nov 5, 2022
aea617c
std.os: take advantage of the freebsd's copy_file_range
alichraghi Sep 24, 2022
c8a5ad6
Improve doc comments for two functions (#13456)
delitako Nov 5, 2022
aaaa7df
macho: add linker test case for issue 13457
kubkon Nov 5, 2022
76fb3e0
macho: do not zero-out file if there are no nonzerofill sects
kubkon Nov 5, 2022
5ef33e7
Merge pull request #13459 from ziglang/issue-13457
kubkon Nov 6, 2022
1aeef29
coff: move relocation in its own module
kubkon Nov 5, 2022
694d883
Revert "x86" CPU model (not arch) back to "i386"
jayschwa Nov 6, 2022
351031b
macho: parse weak symbols in tbds
kubkon Nov 6, 2022
72769f6
link-tests: add test case for parsing weak imports
kubkon Nov 6, 2022
b83e4d9
std.os.linux.T: translate more MIPS values
wooster0 Nov 5, 2022
4c719ad
Merge pull request #13463 from ziglang/fix-13056
kubkon Nov 6, 2022
907f3ef
crypto.salsa20: make the number of rounds a comptime parameter (#13442)
jedisct1 Nov 6, 2022
32563e6
crypto.core.aes: process 6 block in parallel instead of 8 on aarch64 …
jedisct1 Nov 7, 2022
dc128f4
Merge pull request #13446 from Vexu/stage2-fixes
Vexu Nov 7, 2022
88d2e4f
langref.html.in: Simplify printing types in examples
rganesan Nov 6, 2022
7d48cb1
std.crypto: make ghash faster, esp. for small messages (#13464)
jedisct1 Nov 7, 2022
cd7cbed
aarch64: partially implement isNull()
kubkon Nov 7, 2022
0de56d1
aarch64: partially implement optionalPayload()
kubkon Nov 7, 2022
35bd536
aarch64: implement isNull() for non-pointer optionals
kubkon Nov 7, 2022
a074494
aarch64: implement optionalPayload when mcv is register
kubkon Nov 7, 2022
0d55687
aarch64: implement .wrap_optional always saving to the stack
kubkon Nov 7, 2022
45f65c8
aarch64: fix implementation of .is_null and .is_non_null
kubkon Nov 7, 2022
32ad218
aarch64: revert changes to .call
kubkon Nov 8, 2022
179f169
aarch64: circumvent zig0 inference problems
kubkon Nov 8, 2022
e83590d
aarch64: pass some tests dealing with optionals
kubkon Nov 8, 2022
7145064
macho: fix parsing len of DW_FORM_string
kubkon Nov 8, 2022
36e618a
crypto.ghash: compatibility with stage1
jedisct1 Nov 8, 2022
9db63d4
macho: fix handling of DW_FORM_block* forms
kubkon Nov 8, 2022
a65ba6c
CI: stop using cloud.drone.io
andrewrk Nov 8, 2022
188ad31
macho: fix 32bit build
kubkon Nov 8, 2022
a2e6717
Merge pull request #13487 from ziglang/zld-dwarf-string
kubkon Nov 9, 2022
95f989a
Fixes to linux/bpf/btf.zig
bfredl Nov 5, 2022
61842da
llvm: implement packed unions
Vexu Nov 7, 2022
d1e7be0
Handle sentinel slices in `std.mem.zeroes`
IntegratedQuantum Nov 9, 2022
41b7e40
Merge pull request #13418 from ryanschneider/signal-alignment-13216
Vexu Nov 9, 2022
7007ecd
macho: create dSYM bundle directly in the emit dir
kubkon Nov 8, 2022
0285209
aarch64: emit DWARF debug info for fn params and locals
kubkon Nov 9, 2022
df09d9c
x86_64: add DWARF encoding for vector registers
kubkon Nov 9, 2022
31e755d
aarch64: handle .stack_argument_offset as a valid local var
kubkon Nov 9, 2022
2d5fbbb
Merge pull request #13485 from ziglang/arm64-non-null-actual
kubkon Nov 9, 2022
0914e0a
dwarf: do not assume unsigned 64bit integer for the enum value
kubkon Nov 10, 2022
dd8df1c
Windows: Explicitly pass PDB paths to lld-link
jcmoyer Oct 7, 2022
1357790
win: combine PDB fixes into one changeset
kubkon Aug 19, 2022
4b36378
Merge pull request #13495 from ziglang/macho-dsym
kubkon Nov 10, 2022
04b8ce5
Merge branch 'jcmoyer-lld-explicit-pdb'
kubkon Nov 10, 2022
59af641
crypto.ghash: define aggregate tresholds as blocks, not bytes (#13507)
jedisct1 Nov 10, 2022
ff69972
stage2: Fix comptime array initialization
topolarity Nov 1, 2022
8f38800
stage2: Be more strict about eliding loads
topolarity Nov 10, 2022
a2f4de1
stage2 llvm: Elide more loads
topolarity Nov 10, 2022
fbda156
stage2 sema: Make vector constants when operating on vectors
topolarity Oct 5, 2022
b135709
Add test case for #12043
topolarity Oct 5, 2022
7b978bf
stage2: Rename `Value.compare` to `compareAll`, etc.
topolarity Oct 5, 2022
e40c38d
Sema: avoid breaking hash contract when instantiating generic functions
jacobly0 Nov 7, 2022
892fb0f
Merge pull request #13074 from topolarity/stage2-opt
andrewrk Nov 11, 2022
b605cb2
cmake: Mark <root>/.git/HEAD as a configure dependency
topolarity Oct 31, 2022
2897641
stage2: Support modifiers in inline asm
topolarity Nov 10, 2022
89e8bb4
AstGen: use `condbr_inline` if force_comptime is set
Vexu Nov 8, 2022
cacfb0c
llvm: fix leaks of fully qualified names
Vexu Nov 8, 2022
c446555
Type: check return_type for generic poison before comparing
Vexu Nov 8, 2022
d2cc551
llvm: correct calculation of index of zero-bit field
Vexu Nov 8, 2022
0a18819
AstGen: make pointless discard error more strict
Vexu Nov 8, 2022
25c8506
AstGen: emit dbg_stmt before (nearly) all operations that have a safe…
Vexu Nov 9, 2022
9b832e7
Sema: make check for namespace lookup of private declarations more st…
Vexu Nov 9, 2022
40a2dfc
Sema: coerce array operands to shuffle
Vexu Nov 9, 2022
52b8efc
Sema: check for error unwrap in `condbr_inline`
Vexu Nov 9, 2022
e01ec96
Autodoc: not all `block_inline`s contain a `break_inline`
Vexu Nov 9, 2022
4f285d4
GitHub: add issue template for error messages
Vexu Nov 11, 2022
df7223c
crypto.AesGcm: provision ghash for the final block
jedisct1 Nov 11, 2022
7733246
pdb: make SuperBlock def public
kubkon Nov 12, 2022
d42f4ab
llvm: correctly lower references to generic functions
Vexu Nov 11, 2022
a760ce5
Sema: ensure that `!is_comptime and !is_typeof` implies `sema.func !=…
Vexu Nov 11, 2022
87cf278
llvm: check that tuple fields have runtime bits
Vexu Nov 12, 2022
fbc4331
Implements std.math.sign for float vectors.
IntegratedQuantum Nov 11, 2022
32b97df
langref: add appendix and explain 'container' terminology
hryx Nov 9, 2022
8a58185
Make invalidFmtError public and use in place of compileErrors for bad…
nickcernis Nov 12, 2022
9961621
Merge pull request #13497 from Vexu/stage2-fixes
Vexu Nov 13, 2022
81dadbc
pthread_sigmask
JonathanWoollett-Light Nov 12, 2022
b2ffe11
x/os/Reactor: implement remove function (#13330)
nikneym Nov 13, 2022
0184c8d
Sema: remove `block` and `src` parameters from `getBuiltin`
Vexu Nov 12, 2022
77e7d97
C backend: improve ergonomics of zig.h a little bit
andrewrk Nov 13, 2022
20e8c2d
zig.h: remove redundant definition of u16/i16
andrewrk Nov 13, 2022
0b0292c
Merge pull request #13536 from ziglang/cbe-zig-h
andrewrk Nov 14, 2022
b29057b
std.crypto.ghash: fix uninitialized polynomial use (#13527)
naoki9911 Nov 14, 2022
d823680
musl.zig: remove unused enum (#13545)
motiejus Nov 14, 2022
7eed028
crypto.bcrypt: fix massive speed regression when using stage2 (#13518)
jedisct1 Nov 14, 2022
bbd0775
ci: init github actions support
kristoff-it Nov 14, 2022
37402e4
CI: separate aarch64 and x86_64 macos scripts
andrewrk Nov 14, 2022
27e63bb
CI: aarch64-macos: set PATH env var for cmake
andrewrk Nov 14, 2022
e14d135
macos: x86_64: fix wrong path to cmake
andrewrk Nov 14, 2022
5d7efa6
CI: aarch64-linux: init
andrewrk Nov 14, 2022
a50ad04
disable failing test on aarch64-macos
andrewrk Nov 14, 2022
1498607
CI: disable github workflows until it is working in the ci branch
andrewrk Nov 15, 2022
ceb9fed
std.os.linux: Add setitimer and getitimer syscalls
TheStilbruch Nov 14, 2022
c4f7663
Fix error reporting the wrong line for struct field inits (#13502)
mparadinha Nov 15, 2022
024bac7
std.build: fix typo
GethDW Nov 15, 2022
a93fa29
zig-cache: support windows drive + fwd-slash paths
Nov 13, 2022
1bea4f3
fix Nvptx backend outputing files at the top level of zig-cache
gwenzek Nov 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .builds/freebsd.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image: freebsd/latest
secrets:
- 51bfddf5-86a6-4e01-8576-358c72a4a0a4
- 512ed797-0927-475a-83fd-bc997792860c
- be22288f-b1bc-4243-abe3-43d8f0e7079b
sources:
- https://github.com/ziglang/zig
tasks:
Expand Down
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Autodoc
/src/Autodoc.zig @kristoff-it
/src/autodoc/* @kristoff-it
/lib/docs/* @kristoff-it
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ test and debug from a git working tree.
- `make` is typically sufficient to build zig during development iterations.
- `make install` performs a build __and__ install.
- `msbuild -p:Configuration=Release INSTALL.vcxproj` on Windows performs a
build and install. To avoid install, pass cmake option `-DZIG_SKIP_INSTALL_LIB_FILES=ON`.
build and install. To avoid install, pass cmake option `-DZIG_NO_LIB=ON`.

To test changes, do the following from the build directory:

Expand Down
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/autodoc-issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Autodoc Issue
about: Issues with automatically generated docs, including stdlib docs.
title: 'Autodoc: {your issue}'
labels: autodoc
assignees: kristoff-it

---

Autodoc is still work in progress and as such many bugs and missing features are already known.

# Please report only <ins>regressions</ins>, i.e. things that worked in a previous build of new Autodoc (orange banner) that now don't work any more.
15 changes: 4 additions & 11 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,20 @@ body:
attributes:
label: Zig Version
description: "The output of `zig version`"
placeholder: "0.9.0-dev.1275+ac52e0056"
placeholder: "0.10.0-dev.4583+875e98a57"
validations:
required: true
- type: textarea
id: repro
attributes:
label: Steps to Reproduce
description: What exactly can someone else do, in order to observe the problem that you observed?
label: Steps to Reproduce and Observed Behavior
description: What exactly can someone else do, in order to observe the problem that you observed? Include the output and all error messages.
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: What did you expect to happen?
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual Behavior
description: What happened instead? Be sure to include all error messages if any.
description: What did you expect to happen instead?
validations:
required: true
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/error_message.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Error message improvement
description: Compiler produces an unhelpful or misleading error message.
labels: ["error message"]
body:
- type: input
id: version
attributes:
label: Zig Version
description: "The output of `zig version`"
placeholder: "0.11.0-dev.146+2897641fb"
validations:
required: true
- type: textarea
id: repro
attributes:
label: Steps to Reproduce and Observed Output
description: A complete list of steps to reproduce the error message.
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Output
description: What information do expect the error message to include?
validations:
required: true
Loading