tgschultz
00ec81b0dc
Overhauled leb128:
...
handles integers < 8 bits
incorrect overflow bugs fixed
simplified *mem implementations
added wrte* functions
added thurough write/read testing
2020-06-16 16:20:59 +00:00
tgschultz
928d3ee9ea
Code cleanup, documentation added, read*Mem functions now take *[]const u8
2020-06-16 16:20:58 +00:00
tgschultz
e94eba5df5
Overhauled leb128:
...
handles integers < 8 bits
incorrect overflow bugs fixed
simplified *mem implementations
added wrte* functions
added thurough write/read testing
2020-06-16 16:20:58 +00:00
tgschultz
7f24860737
Code cleanup, documentation added, read*Mem functions now take *[]const u8
2020-06-16 16:20:58 +00:00
tgschultz
8978fe94cf
Overhauled leb128:
...
handles integers < 8 bits
incorrect overflow bugs fixed
simplified *mem implementations
added wrte* functions
added thurough write/read testing
2020-06-16 16:20:58 +00:00
Andrew Kelley
f595545c10
Merge pull request #5422 from pixelherodev/error_tests
...
[Stage2/Testing] ZIR tests for expected errors
2020-06-16 03:50:56 -04:00
Noam Preil
a99e61ebaa
Stage2/Testing: Code cleanup
2020-06-15 21:47:42 -04:00
Noam Preil
afec3e72f4
Stage2/Testing: Enable another test
2020-06-15 20:42:22 -04:00
Noam Preil
7d1c9a69cc
Stage2/Testing: Remove dead code
2020-06-15 20:33:43 -04:00
Noam Preil
adb21f1caf
Stage2/Testing: Add error tests to ZIRCase
2020-06-15 20:33:43 -04:00
Noam Preil
7ee0462f5f
Stage2/Testing: Fix transformation tests
2020-06-15 20:33:39 -04:00
Noam Preil
1e5945d0a9
Stage2/Testing: remove ZIRTransformCase
2020-06-15 20:33:39 -04:00
Noam Preil
71dca252a5
Stage2/Testing: Rename stage -> update
2020-06-15 20:33:32 -04:00
Noam Preil
b6bd51ed69
Stage2/Testing: Move Transformation case to ZIRCase
2020-06-15 20:33:25 -04:00
Noam Preil
e77fc7fe7e
Stage2/Testing: Fix error specification
2020-06-15 20:33:17 -04:00
Noam Preil
6dce317fe3
Stage2/Testing: Fix error tests
2020-06-15 20:33:07 -04:00
Noam Preil
d4fd7c6a01
Stage2/Testing: Staged test harness draft design
2020-06-15 20:32:54 -04:00
Noam Preil
2ed07a36f8
[Stage2/Testing] Attempt to call nakedcc function
2020-06-15 17:52:21 -04:00
Noam Preil
bf8b3a4394
[Stage2/Testing] Handle decl and export errors
2020-06-15 17:51:43 -04:00
Noam Preil
68cc068a3a
[Stage2/Testing] Make API more friendly
2020-06-15 17:51:43 -04:00
Noam Preil
bebc1f49cf
[Stage2/Testing] Add (failing) test
2020-06-15 17:51:43 -04:00
Noam Preil
2d1d012f11
[Stage2/Testing] Reduce test
2020-06-15 17:51:43 -04:00
Noam Preil
e030414c16
[Stage2/Testing] Always finish case, note all errs
2020-06-15 17:51:43 -04:00
Noam Preil
f2399db3ef
[Stage2/Testing] Don't rely on update erroring
2020-06-15 17:51:42 -04:00
Noam Preil
67414be86b
[Stage2/Testing] Print name of failed test
2020-06-15 17:51:42 -04:00
Noam Preil
c92816fbef
[Stage2/Testing] ZIR tests for expected errors
2020-06-15 17:51:29 -04:00
Andrew Kelley
2bb3e1aff4
stage1: implement type coercion of anon struct literal to struct
...
closes #3672
2020-06-15 16:52:18 -04:00
Alexandros Naskos
2c8a3aaf85
Use _wfopen instead of fopen on windows
2020-06-15 22:21:01 +03:00
Alexandros Naskos
242246f793
UTF16 create process, utf8->utf16 fix
2020-06-15 21:51:53 +03:00
Alexandros Naskos
c34bdff4bb
Use more wide functions on windows
2020-06-15 18:38:41 +03:00
daurnimator
af592f0ddd
std: remove std.debug.getStderrStream
...
Rather than migrate to new 'writer' interface, just remove it
2020-06-15 23:51:25 +10:00
daurnimator
ce30357532
std: clean up debug stderr variables
...
- stderr_file_writer was unused
- stderr_stream was a pointer to a stream, rather than a stream
- other functions assumed that getStderrStream has already been called
2020-06-15 23:48:33 +10:00
Alexandros Naskos
3b0b56b81a
Switched more Windows FS calls to their wide versions
2020-06-15 16:15:10 +03:00
Alexandros Naskos
037c72fe67
Convert paths to UTF-16 before calling CreateDirectory on windows
2020-06-15 15:52:59 +03:00
Vexu
e7207bc267
add workaround for #5599
2020-06-14 20:13:02 +03:00
Carter Sande
09cded209d
Add strict_align to pre-v6 ARM targets
...
This matches GCC's and Clang's default behavior for these targets.
2020-06-12 13:43:12 -04:00
Andrew Kelley
866651a5a3
Merge pull request #5589 from kubkon/preopens-example
...
Add doc example for extracting WASI preopens
2020-06-12 13:40:30 -04:00
Alexandros Naskos
1bc92b1fde
Fix formatting of floating point values with the B and Bi specifiers
2020-06-12 13:38:12 -04:00
Cassidy Dingenskirchen
57f1ed5325
Fix a few std.sort.sort invocations
2020-06-12 13:33:31 -04:00
Veikka Tuominen
7d8fd45267
Merge pull request #5595 from ifreund/doc-arraylist-fix
...
docs: fix mention of deprecated ArrayList.span()
2020-06-12 19:10:47 +03:00
Isaac Freund
a254297953
docs: fix mention of deprecated ArrayList.span()
2020-06-12 17:58:43 +02:00
Jakub Konka
200f9ea6fb
Add unit test for std.fs.wasi.PreopenList
2020-06-11 23:00:02 +02:00
Jakub Konka
c7721bb368
Add custom format method for Preopen struct
2020-06-11 22:31:08 +02:00
Jakub Konka
e4a8598ddd
Add doc example for extracting WASI preopens
2020-06-11 22:30:02 +02:00
Jonathan Marler
a282ac7a91
Support Reader for InStream
2020-06-09 13:36:17 -04:00
Andrew Kelley
4302f276ed
Merge branch 'kubkon-wasm-instrinsics'
...
closes #5507
2020-06-09 00:22:43 -04:00
Jakub Konka
42c95a64d6
Update langref.html.in
2020-06-09 00:22:34 -04:00
Jakub Konka
660eef9a43
Document the builtins
2020-06-09 00:22:34 -04:00
Jakub Konka
52b97eeef1
Return u32 in @wasmMemorySize instead of i32
2020-06-09 00:22:34 -04:00
Jakub Konka
057d97c093
Return should be i32 due to error signaling in memory.grow
...
Also, fix tests.
2020-06-09 00:22:34 -04:00