Add info to README
This commit is contained in:
parent
a9589c2e56
commit
c2a9622b3d
1 changed files with 5 additions and 2 deletions
|
@ -35,7 +35,7 @@ zig build debug-run
|
||||||
|
|
||||||
## Debug
|
## Debug
|
||||||
|
|
||||||
Launch a gdb instance and connect to qemu.
|
Launch a gdb-multiarch instance and connect to qemu.
|
||||||
|
|
||||||
```Shell
|
```Shell
|
||||||
zig build debug
|
zig build debug
|
||||||
|
@ -53,10 +53,13 @@ zig build test
|
||||||
|
|
||||||
* `-Drt-test=`: Boolean (default `false`).
|
* `-Drt-test=`: Boolean (default `false`).
|
||||||
* **build**: Build with runtime testing enabled. Makes the kernel bigger and slower but tests important functionality.
|
* **build**: Build with runtime testing enabled. Makes the kernel bigger and slower but tests important functionality.
|
||||||
* **test**: Run the runtime testing script instead of the unittests. Checks for the expected log statements and fails if any are missing.
|
* **test**: Run the runtime testing script instead of the unit tests. Checks for the expected log statements and fails if any are missing.
|
||||||
* `-D[build-mode]=`: Boolean (default `false`).
|
* `-D[build-mode]=`: Boolean (default `false`).
|
||||||
* **build**: Build a certain build mode (*release-safe*, *release-fast*, *release-small*). Don't set in order to use the *debug* build mode.
|
* **build**: Build a certain build mode (*release-safe*, *release-fast*, *release-small*). Don't set in order to use the *debug* build mode.
|
||||||
* **test**: Test a certain build mode (*release-safe*, *release-fast*, *release-small*). Don't set in order to use the *debug* build mode.
|
* **test**: Test a certain build mode (*release-safe*, *release-fast*, *release-small*). Don't set in order to use the *debug* build mode.
|
||||||
|
* `-Darch=`: String (default `x86`). Currently the only supported value is `x86`.
|
||||||
|
* **build**: Build for a certain architecture.
|
||||||
|
* **test**: Test a certain architecture.
|
||||||
|
|
||||||
## Contribution
|
## Contribution
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue