update README.md for tests/ directory

master
Sébastien Marie 2021-11-08 19:04:58 +00:00
parent 39ebd6f0e2
commit 6fb349d3e4
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ Use the environment
-------------------
```
$ ZIG_LIBC=path/to/amd64/libc.conf zig build-exe -target x86_64-openbsd -o test/helloz test/hello.zig
$ ZIG_LIBC=path/to/amd64/libc.conf zig cc -target x86_64-openbsd -o test/helloc test/hello.c
$ ZIG_LIBC=path/to/amd64/libc.conf zig build-exe -target x86_64-openbsd -o tests/helloz tests/hello.zig
$ ZIG_LIBC=path/to/amd64/libc.conf zig cc -target x86_64-openbsd -o tests/helloc tests/hello.c
```
Make shell wrapper