Commits

Sema: implement coercion from pointers to `*c_void`

ed7328119f • Andrew Kelley • Oct 25, 2021

AstGen: move nodeMayEvalToError logic for builtins

8f3e1ea0f0 • Andrew Kelley • Oct 25, 2021

Merge pull request #10019 from mattbork/ret-fixes

d4bf44024a • Andrew Kelley • Oct 25, 2021

Fix documentation for Random.int

3f6eef22e4 • ominitay • Oct 25, 2021

Revert 83bdbb2 and a587dd0 (#10028)

df167af0b6 • Robin Voetter • Oct 25, 2021

std: disable big.rational setFloat targeting wasm32

a587dd08f8 • Jakub Konka • Oct 24, 2021

stage2: refactor coercePeerTypes and fix C ptr cmp with null

ce65ca4345 • Andrew Kelley • Oct 24, 2021

std.log: simplify to 4 distinct log levels

f7b090d707 • Isaac Freund • Oct 24, 2021

macho: remove unresolved ref in the correct place

6cf5305e47 • Jakub Konka • Oct 24, 2021

Merge pull request #10022 from LemonBoy/fix-10001

f80fd7e1a6 • Andrew Kelley • Oct 24, 2021

Merge pull request #10017 from Snektron/big-int-div

94879506ea • Andrew Kelley • Oct 24, 2021

std: Fix edge case in TLS tp calculation

1690b35770 • LemonBoy • Oct 24, 2021

stage2: implement more C pointer Sema and comptime ptr arith

22b4c9e1a9 • Andrew Kelley • Oct 24, 2021

Minor rewording of "Shadowing" section within language reference

ee98d87008 • Michael Byrne • Oct 23, 2021

stage2: LLVM backend: fix optional_payload instructions

6aeb6bcc84 • Andrew Kelley • Oct 23, 2021

stage2: implement aligned variables and `@alignCast`

d97928bf52 • Andrew Kelley • Oct 23, 2021

stage2: slice and alignment fixes

01c1f41520 • Andrew Kelley • Oct 23, 2021

Sema: fix a couple use-after-free bugs

b24e9b6347 • Andrew Kelley • Oct 22, 2021

stage2: fix Decl addrspace being undefined

f0dcdd7931 • Andrew Kelley • Oct 22, 2021

stage2: change `@bitCast` to always be by-value

069c83d58c • Andrew Kelley • Oct 22, 2021

zig libc: export floorl and ceill

86b9280963 • Andrew Kelley • Oct 22, 2021

macho: dump linker's state as JSON

d0dceae736 • Jakub Konka • Oct 22, 2021

Sema: resoveTypeLayout resolves optionals and error unions too

912e7dc54b • Andrew Kelley • Oct 22, 2021

stage2: LLVM backend: add a missing setUnnamedAddr

6cd14f051d • Andrew Kelley • Oct 22, 2021

Sema: fix type checking of `@intToFloat` operands

895aea0b63 • Andrew Kelley • Oct 22, 2021

stage2: implement comptime loads through casted pointers

0a6851cc6d • Andrew Kelley • Oct 22, 2021

stage2: fix Value.copy not copying arrays

1bce0ed046 • Andrew Kelley • Oct 22, 2021

stage2: more division support

7f70c27e9d • Andrew Kelley • Oct 22, 2021

stage2: truncation

a3c9bfef30 • Robin Voetter • Oct 22, 2021

Merge pull request #9993 from Snektron/more-field-elem

d49c601d62 • Andrew Kelley • Oct 21, 2021

InstallRawStep: handle empty segments

e2a2e6c14f • Jonathan Marler • Oct 21, 2021

distinguish between unexpected child process exit code and unclean exit

da2b615efb • Jonathan Marler • Oct 21, 2021

stage2: implement slicing

a0e195120d • Andrew Kelley • Oct 21, 2021

Sema: fix missing copy in array multiplication

3b2e25ed87 • Andrew Kelley • Oct 21, 2021

stage2: LLVM backend: fix decls sometimes not marked alive

8b734380f9 • Andrew Kelley • Oct 20, 2021

stage2: implement big int to float conversion

c8ded2f9c9 • Andrew Kelley • Oct 20, 2021

AstGen: make the index variable of `inline for` a `alloc_comptime`

4cb5fed10b • Andrew Kelley • Oct 20, 2021

stage2: fix inline assembly with expression output

361217bda2 • Andrew Kelley • Oct 20, 2021

translate-c: create `inline fn` for always_inline

d949180ab0 • Stéphan Kochen • Oct 20, 2021

stage2: LLVM backend: implement switch_br

ed2a5081e1 • Andrew Kelley • Oct 20, 2021

stage2: implement switching on unions

dfb3231959 • Andrew Kelley • Oct 20, 2021

Merge pull request #9984 from Snektron/field-elem-access

4a76523b92 • Andrew Kelley • Oct 20, 2021

macho: fix LLVM codepaths in self-hosted linker

372e9709ad • Jakub Konka • Oct 19, 2021

translate_c: prevent a while under an if from stealing the else

2d7b55aa0a • Matthew Borkowski • Oct 19, 2021

astgen.zig: fix emitting wrong error unwrapping instructions in tryExpr

135cb529de • Matthew Borkowski • Oct 19, 2021

src/link/C/zig.h: Fix indent

ec3ed92f48 • Sizhe Zhao • Oct 19, 2021

stage2: fix coercion of error set to error union

bea447a637 • Andrew Kelley • Oct 18, 2021

coff linking: honor the link_libunwind flag

75c8c4442d • Andrew Kelley • Oct 18, 2021

astgen.zig: fix false positive in breakExpr's checking for store_to_block_ptr

79a3dfcfd8 • Matthew Borkowski • Oct 18, 2021

Merge pull request #9966 from nektro/stage2-hasfield

cde3dd365e • Andrew Kelley • Oct 18, 2021

stage2: implement coercion from null to C pointer

40cbf525f7 • Andrew Kelley • Oct 18, 2021

stage2: implement `@embedFile`

e5dac0a0b3 • Andrew Kelley • Oct 18, 2021

Merge pull request #9960 from Snektron/bit-not

ad17108bdd • Andrew Kelley • Oct 18, 2021

stage2: LLVM backend: lower constant field/elem ptrs

e9d1e5e533 • Andrew Kelley • Oct 18, 2021

stage2: fix handling of error unions as return type

07691db3ae • Andrew Kelley • Oct 17, 2021

stage2: implement error wrapping

6534f2ef4f • Andrew Kelley • Oct 17, 2021

Move `compareFn` from init to type constructor in `PriorityQueue` and `PriorityDequeue`.

53b87fa78a • Max Hollmann • Oct 17, 2021

actually fix child process deadlock on windows

22beaf5afc • Jonathan Marler • Oct 17, 2021

std: Fix endless loop in fmt impl

51be575745 • LemonBoy • Oct 17, 2021

Linux: Update syscall numbers for 5.14

98a37dfb23 • Stephen Gregoratto • Oct 17, 2021

stage2: add haveFieldTypes() assertions

127cd06ba1 • Andrew Kelley • Oct 17, 2021

Sema: coercion from error sets to `anyerror`

fdd11f6cee • Andrew Kelley • Oct 16, 2021

stage2: fixes to extern variables

4d6d6977b0 • Andrew Kelley • Oct 16, 2021

Merge pull request #9954 from Snektron/shifts

82ec56e47e • Andrew Kelley • Oct 16, 2021

elevate more passing tests

6f30c8c098 • Meghan Denny • Oct 16, 2021

stage2: `@hasDecl` is passing

1df926b24e • Meghan • Oct 16, 2021

stage2: optional comparison and 0-bit payloads

682cdeceaa • Andrew Kelley • Oct 16, 2021

stage2: make hasCodeGenBits() always true for pointers

186126c2a4 • Andrew Kelley • Oct 16, 2021

std.os: another workaround for stage1 `@minimum` behavior

0536c25578 • Andrew Kelley • Oct 15, 2021

std.os: add workarounds for stage1 `@minimum` implementation

0915d24e6b • Andrew Kelley • Oct 15, 2021

stage2 AArch64: move codegen to separate file

01b3905688 • joachimschmidt557 • Oct 15, 2021

Adds tip about testing stdlib files to CONTRIBUTING.md (#9946)

6a9726e495 • Andy Fleming • Oct 15, 2021

Sat shl neg rhs (#9949)

16ac034a32 • travisstaloch • Oct 15, 2021

Fix bug where std.math.asinh64 doesn't respect signedness for negative values (#9940)

411e9ca4ad • Miles Alan • Oct 15, 2021

std.os.windows: Fix typo (#9951)

f3ab092f67 • Sizhe Zhao • Oct 15, 2021

stage2: LLVM backend: implement `wrap_optional` AIR

cacd5366a6 • Andrew Kelley • Oct 15, 2021

stage2: implement `@minimum` and `@maximum`, including vectors

55eea3b045 • Andrew Kelley • Oct 15, 2021

stage2: improved union support

8b88274781 • Andrew Kelley • Oct 15, 2021

move behavior tests that are passing for stage2

ed5a5e2293 • Andrew Kelley • Oct 14, 2021

stage2: improve handling of 0-bit types and arrays

0d4a94f32f • Andrew Kelley • Oct 14, 2021

stage2: remove use of `builtin.stage2_arch` workaround

b0f80ef0d5 • Andrew Kelley • Oct 14, 2021

stage2: implement opaque declarations

df7d6d263e • Andrew Kelley • Oct 14, 2021

stage2: implement Sema for elemVal for comptime slice

da7fcfd158 • Andrew Kelley • Oct 13, 2021

Sema: implement comptime `coerce_result_ptr` and `alloc`

e851d89113 • Andrew Kelley • Oct 13, 2021

stage2: LLVM backend: fix crash adding alloca

2a701a92c4 • Andrew Kelley • Oct 13, 2021

macho: redo relocation handling and lazy bind globals

fc302f00a9 • Jakub Konka • Oct 13, 2021

stage2: fix comptime stores and sentinel-terminated arrays

a3104a4a78 • Andrew Kelley • Oct 13, 2021

Merge pull request #9878 from pfgithub/patch-4

7f006287ae • Andrew Kelley • Oct 12, 2021

stage2: LLVM backend: fix var args function calls

5af7ae1dc4 • Andrew Kelley • Oct 11, 2021

stage2: support nested structs and arrays and sret

6d6cf59847 • Andrew Kelley • Oct 11, 2021

Merge pull request #9925 from mattbork/uniondecl-fixes

f42725c39b • Andrew Kelley • Oct 10, 2021

translate-c: fix logic for checking primitive names

d1fd864da7 • Andrew Kelley • Oct 10, 2021

rand: remove workaround for issue #1770

a5ecffa461 • Sizhe Zhao • Oct 10, 2021

add test step to build.zig generated by init-exe (#9919)

8e1aa72c69 • Lee Cannon • Oct 9, 2021

Better documentation, use of `len` field instead of function, @bitSizeOf instead of meta.bitCout

526191bfaf • tgschultz • Oct 9, 2021

stage2: add --debug-compile-errors CLI option

73403d897c • Andrew Kelley • Oct 8, 2021

stage2: fix returning structs byval from functions

75cecef63c • Andrew Kelley • Oct 8, 2021

stage2: fix comptime_float negation

a0c44e806b • Andrew Kelley • Oct 8, 2021

AstGen: make array literals work like struct literals

3df19b765d • Andrew Kelley • Oct 7, 2021

stage2: implement array literal with explicit type

76335bc7ba • Andrew Kelley • Oct 7, 2021