Andrew Kelley
|
a8b3b5f11c
|
zig build: install is now the default step; default prefix is zig-cache
closes #2817
|
2019-07-04 15:32:44 -04:00 |
|
Andrew Kelley
|
79e1fcfdda
|
Merge pull request #2787 from emekoi/fix-2768
forward error code in build.zig
|
2019-07-04 10:57:25 -04:00 |
|
emekoi
|
9e3189f1f4
|
forward error code on non-exits
|
2019-07-03 23:48:42 -05:00 |
|
emekoi
|
d8135c9e6e
|
forward error code build.zig
|
2019-07-03 23:48:42 -05:00 |
|
Andrew Kelley
|
b109155528
|
Merge branch 'emekoi-impl-1107'
|
2019-07-04 00:35:47 -04:00 |
|
Andrew Kelley
|
96fd103073
|
improve the error message and test coverage
|
2019-07-04 00:35:28 -04:00 |
|
Andrew Kelley
|
bfe0bf695b
|
Merge branch 'impl-1107' of https://github.com/emekoi/zig into emekoi-impl-1107
|
2019-07-03 23:40:47 -04:00 |
|
Andrew Kelley
|
c2cf04086a
|
add docs for enum literals
closes #683
|
2019-07-03 23:09:58 -04:00 |
|
Andrew Kelley
|
d1cda00b36
|
workaround for no equality operator for enum literal and tagged union
|
2019-07-03 18:41:52 -04:00 |
|
Andrew Kelley
|
372b615ace
|
Merge branch 'timonkruiper-function-sections'
|
2019-07-03 15:47:40 -04:00 |
|
Andrew Kelley
|
4606baee07
|
add -ffunction-sections arg when building C objects
the other changes in this commit are minor tidying up
|
2019-07-03 15:46:27 -04:00 |
|
Andrew Kelley
|
2f4faf306d
|
Merge branch 'function-sections' of https://github.com/timonkruiper/zig into timonkruiper-function-sections
|
2019-07-03 14:43:33 -04:00 |
|
emekoi
|
a1b952f4b0
|
added tests for #1107 and a note in the reference
|
2019-07-03 13:12:14 -05:00 |
|
emekoi
|
53ca4118bd
|
added segfault handler support for windows
|
2019-07-03 14:02:48 -04:00 |
|
Andrew Kelley
|
a1359ac3ab
|
Merge branch 'rbscott-comptime-union-init'
|
2019-07-03 13:55:50 -04:00 |
|
Andrew Kelley
|
4bae87764f
|
update @unionInit to integrate with result location semantics
|
2019-07-03 13:40:40 -04:00 |
|
Andrew Kelley
|
9da054095c
|
Merge branch 'comptime-union-init' of https://github.com/rbscott/zig into rbscott-comptime-union-init
|
2019-07-03 11:26:55 -04:00 |
|
Andrew Kelley
|
9daf0140e5
|
add missing compile error for comptime continue inside runtime catch
See #2604
|
2019-07-02 21:14:42 -04:00 |
|
Andrew Kelley
|
b84ff1dd32
|
update the default panic handler on freestanding
Now the infinite loop has a `@breakpoint()` in there.
|
2019-07-02 19:44:49 -04:00 |
|
Andrew Kelley
|
57d6724186
|
Merge branch 'shawnl-has-field'
|
2019-07-02 16:53:08 -04:00 |
|
Andrew Kelley
|
df11512f85
|
fixups
|
2019-07-02 16:52:55 -04:00 |
|
Andrew Kelley
|
140335b99f
|
Merge branch 'has-field' of https://github.com/shawnl/zig into shawnl-has-field
|
2019-07-02 16:21:40 -04:00 |
|
Andrew Kelley
|
b05b5649df
|
print dir name on failure to write to cache dir
closes #2429
|
2019-07-02 16:11:05 -04:00 |
|
Andrew Kelley
|
04b32d6a8a
|
docs: mention the standard library documentation
also mention the FAQ in the README.
also link to the other documentation versions.
|
2019-07-02 15:21:58 -04:00 |
|
emekoi
|
9d42a40a9f
|
return FileNotFound for PATH_NOT_FOUND in DeleteFileW
|
2019-07-02 14:49:48 -04:00 |
|
Andrew Kelley
|
06733c3ff5
|
Merge pull request #2788 from emekoi/pdb-fix
fixed coff header parsing
|
2019-07-02 14:48:45 -04:00 |
|
Andrew Kelley
|
704444a6e3
|
improved logic on whether to include start files
|
2019-07-02 14:26:54 -04:00 |
|
Timon Kruiper
|
bbc0d440b8
|
Added ZigLLVMCreateTargetMachine and pass function-sections flag
Also added extra cache line
Added the ZigLVVMCreateTargetMachine to self hosted zig code
|
2019-07-02 19:54:29 +02:00 |
|
Andrew Kelley
|
7d4a0cfed0
|
enable segfault stack traces in stage1 compiler
|
2019-07-02 13:41:17 -04:00 |
|
Andrew Kelley
|
1a1598c58c
|
stack traces on segfault by default for linux-x86_64
closes #2355
|
2019-07-02 13:41:16 -04:00 |
|
Timon Kruiper
|
7586f613d5
|
Added function-section functionality
|
2019-07-01 17:49:08 +02:00 |
|
emekoi
|
2d85ff9465
|
added invalid switch prong error
added error for switch prong with different payloads and support for capturing payload on switch prongs with payloads of the same type
|
2019-07-01 00:27:55 -05:00 |
|
Marc Tiehuis
|
0dd2e93e4c
|
Update for new fmt.zig formatting
|
2019-06-30 22:25:03 +12:00 |
|
emekoi
|
027517a0c9
|
added init function for Coff
|
2019-06-29 13:56:23 -05:00 |
|
emekoi
|
92b68c57b3
|
fix formatting
|
2019-06-29 13:21:27 -04:00 |
|
emekoi
|
8156a61de8
|
fix syntax highlighting
|
2019-06-29 13:21:27 -04:00 |
|
Michael Dusan
|
7a2b0cc9c4
|
fix stack escape in add_source_file()
|
2019-06-29 13:19:39 -04:00 |
|
emekoi
|
b780dee3e8
|
initialize sections in openSelfDebugInfoWindows
|
2019-06-28 18:22:02 -05:00 |
|
emekoi
|
fbb0c8d639
|
fixed debug info on windows
|
2019-06-28 17:59:34 -05:00 |
|
Andrew Kelley
|
4b7e04f75a
|
rename std/special/bootstrap.zig to std/special/start.zig
|
2019-06-28 02:00:56 -04:00 |
|
Andrew Kelley
|
ae72a98224
|
Merge pull request #2775 from SamTebbs33/alignment-docs
Add doc comments to alignment functions
|
2019-06-27 20:37:28 -04:00 |
|
Andrew Kelley
|
ff477361b0
|
Merge branch 'emekoi-root-import'
|
2019-06-27 19:16:24 -04:00 |
|
Andrew Kelley
|
69c7c5de09
|
fixups
* better detection for already seen packages
* "root" instead of "@root"
|
2019-06-27 19:15:33 -04:00 |
|
Andrew Kelley
|
fe2d89007b
|
Merge branch 'root-import' of https://github.com/emekoi/zig into emekoi-root-import
|
2019-06-27 18:38:28 -04:00 |
|
SamTebbs33
|
623dbb73df
|
Add check for power of 2 to std.mem.alignBackward
|
2019-06-27 22:23:09 +01:00 |
|
Andrew Kelley
|
0a0c11685f
|
fix for with null and T peer types and inferred result location type
See #2762
|
2019-06-27 17:22:35 -04:00 |
|
SamTebbs33
|
14abf0fda5
|
Add doc comments to alignment functions
|
2019-06-27 22:22:17 +01:00 |
|
Andrew Kelley
|
1b23c46138
|
fix switch with null and T peer types and inferred result location type
closes #2762
|
2019-06-27 16:54:19 -04:00 |
|
Andrew Kelley
|
d422d5753b
|
avoid std.debug.global_allocator in http headers tests
|
2019-06-27 15:38:40 -04:00 |
|
Andrew Kelley
|
8a251c411d
|
Merge branch 'daurnimator-http.headers'
|
2019-06-27 14:07:27 -04:00 |
|