authorgravatar for felixonmars@archlinux.orgFelix Yan <felixonmars@archlinux.org> 2024-10-29 22:10:06 +02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2024-10-29 13:10:06 -07:00
loga0f605723661baecc98a2828e95695d02ecd720c
tree00b7974ce31bb8d75335e4e528341e7fff0fcc85
parentfd722b80df7a0ac301d92c5298e28f512269b271
signaturebadge-check Signed by PGP key B5690EEEBB952194

[skip-ci] Correct typos in zig.mod.md (#92)


1 files changed, 2 insertions(+), 2 deletions(-)

docs/zig.mod.md+2-2
...@@ -107,12 +107,12 @@ Version types available to each Dep type:...@@ -107,12 +107,12 @@ Version types available to each Dep type:
107- Type: `comma-split string[]`107- Type: `comma-split string[]`
108- Example: `windows`108- Example: `windows`
109- Example: `macos,tvos,ios`109- Example: `macos,tvos,ios`
110This attribute specifies a way to filter when the dependency will be generated into the contents of `deps.zig`. `only_os` is an inclusive filter in which the dependency will only be in the output if the host target operating system is in the list specified or if this field is ommitted.110This attribute specifies a way to filter when the dependency will be generated into the contents of `deps.zig`. `only_os` is an inclusive filter in which the dependency will only be in the output if the host target operating system is in the list specified or if this field is omitted.
111111
112#### Dep `except_os`112#### Dep `except_os`
113- Type: `comma-split string[]`113- Type: `comma-split string[]`
114- Example: `linux`114- Example: `linux`
115This attribute specifies a way to filter when the dependency will be generated into the contents of `deps.zig`. `except_os` is an exlusive filter in which the dependency will only be in the output if the host target operating is \*not\* in the list specified or if the field is ommitted.115This attribute specifies a way to filter when the dependency will be generated into the contents of `deps.zig`. `except_os` is an exclusive filter in which the dependency will only be in the output if the host target operating is \*not\* in the list specified or if the field is omitted.
116116
117#### Dep `keep`117#### Dep `keep`
118- Type: `string`118- Type: `string`