mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-26 09:30:31 +00:00
This commit is contained in:
parent
b478c1bff4
commit
cff8aa2e52
1 changed files with 16 additions and 4 deletions
20
README.md
20
README.md
|
@ -102,14 +102,14 @@ It can be handy to check just a single exercise or _start_ from a single
|
||||||
exercise:
|
exercise:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
zig build 19
|
zig build -Dn=19
|
||||||
zig build 19_start
|
zig build -Dn=19 start
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also run without checking for correctness:
|
You can also run without checking for correctness:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
zig build 19_test
|
zig build -Dn=19 test
|
||||||
```
|
```
|
||||||
|
|
||||||
Or skip the build system entirely and interact directly with the compiler
|
Or skip the build system entirely and interact directly with the compiler
|
||||||
|
@ -123,7 +123,18 @@ Calling all wizards: To prepare an executable for debugging, install it
|
||||||
to zig-cache/bin with:
|
to zig-cache/bin with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
zig build 19_install
|
zig build -Dn=19 install
|
||||||
|
```
|
||||||
|
|
||||||
|
To get a list of all possible options, run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
zig build -Dn=19 -l
|
||||||
|
|
||||||
|
install Install 019_functions2.zig to prefix path
|
||||||
|
uninstall Uninstall 019_functions2.zig from prefix path
|
||||||
|
test Run 019_functions2.zig without checking output
|
||||||
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
## What's Covered
|
## What's Covered
|
||||||
|
@ -168,6 +179,7 @@ Core Language
|
||||||
* [X] Interfaces
|
* [X] Interfaces
|
||||||
* [X] Working with C
|
* [X] Working with C
|
||||||
* [ ] String formatting
|
* [ ] String formatting
|
||||||
|
* [ ] Bit manipulation
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue