summaryrefslogtreecommitdiff
path: root/test/lit/stdin-stdout.wast
Commit message (Collapse)AuthorAgeFilesLines
* Use ModuleReader::readStdin for file "-" (#4114)Thomas Lively2021-08-301-0/+1
| | | | | | | | | After #4106 we already treat the input file "-" as a shorthand for reading from stdin at the file.cpp level. However, the "-" input was still treated as a normal file name at the wasm-io.cpp file and as a result was always treated as text input. This commit updates wasm-io.cpp to use the stdin code path supporting both binary and text input for "-". Fixes #4105 (again).
* Read from stdin when the input file is `-` (#4106)Thomas Lively2021-08-271-0/+13
We already supported `-` as meaning stdout for output and this is useful in similar situations. Fixes #4105.