C++ compiling example + execution in wasm doesn‘t produce any output
- Dominant language
- Perl
- Stars
- 3.9k
- Forks
- 213
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
Hello there,
I got a-Shell this morning with Textastic in order to check out the C++ example posted on twitter (see https://twitter.com/Textastic/status/1254664742960054277)
Cpp file is fine, clang++ compiling works, but wam does not produce any output for the created file.
I understand that this might not be your issue - i am also on the iOS beta (beta 7).
wasm test does not produce any output at all. wasm alone also does not do anything:
$ wasm hello
$ less test.cpp
#include < iostream >
int main() {
std::cout << "Hello World" << std::endl;
rm test
rm: test: No such file or directory
$ ls
heclang++ test.cpp -O3 -o test
$ wasm test
$ ls -l
total 1192
-rwxr-xr-x 1 mobile mobile 604788 Sep 10 09:31 test
-rw-r--r--@ 1 mobile mobile 88 Sep 10 09:30 test.cpp
$ ./test
./test: command not found
$ test
test: command not found
$ wasm
$ wasm -?
wawasm -h
wasm: file -h not found
$ wasm help
wasm: file help not found
$ wasm hello
wasm: file hello not found
$ wasm test
$ wasm
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.