summaryrefslogtreecommitdiff
path: root/src/wasm-binary-reader-ast.c
diff options
context:
space:
mode:
authorMichael Ferris <mike.ferris@hotmail.com>2016-06-17 11:26:30 -0700
committerBen Smith <binjimin@gmail.com>2016-06-17 11:26:30 -0700
commite01db9c7cb1135b0aca0abf13a4e6baf013878db (patch)
tree6f878101cce0605bf0e7d9438fc10611e821635b /src/wasm-binary-reader-ast.c
parent88acd087e8b758f72a60f07e79c6febf37f0b84e (diff)
downloadwabt-e01db9c7cb1135b0aca0abf13a4e6baf013878db.tar.gz
wabt-e01db9c7cb1135b0aca0abf13a4e6baf013878db.tar.bz2
wabt-e01db9c7cb1135b0aca0abf13a4e6baf013878db.zip
Fix Windows (#86)
* Fix build on Windows Changed stderr and stdout to binary mode on Windows. This avoids printing \r\r\n which causes tests to fail Make sure not to print backward slash in .json file * Explicitly pass the program name to print usage instead of getting it from argv. The format was too different between Linux and Windows (forward slash vs backward slash && .exe at the on Windows). This was failing a lot of baseline checks in the test suite. * Read wast file as binary instead of text mode. Buffer offset to file offset is unreliable in text mode. Added support for carriage return when searching for line offset * Test tools, search binary using .exe on Windows Account for backward slash in spec.js * Fix diffing file by ignoring endline (this is too unstable between Windows and other platforms) * CR Fixes
Diffstat (limited to 'src/wasm-binary-reader-ast.c')
0 files changed, 0 insertions, 0 deletions