Ahmed
4b41b0a5c0
069_comptime4: replace comptime T: type
=> T: type
and refactor a bit accordingly
...
- replaced instances of `comptime T: type` with `T: type` (080_anonymous_structs)
- left 065_builtins2.zig: 27:// 2. @typeInfo(comptime T: type) @import("std").builtin.Type
see [do not enforce function parameters to be marked comptime if only called at comptime](https://github.com/ziglang/zig/pull/18331 )
2024-03-12 21:33:37 +00:00
Chris Boesch
e3877321b6
Merge pull request 'Minor corrections to the "contributing"' ( #56 ) from contrib into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/56
2024-03-12 20:03:17 +00:00
Chris Boesch
08cc60ba59
Minor corrections to the "contributing"
2024-03-12 20:59:29 +01:00
Chris Boesch
6b46b26c22
Merge pull request 'Fixed unicode literal' ( #55 ) from i52 into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/55
2024-03-08 00:09:54 +00:00
Chris Boesch
d0519d18fa
Fixed unicode literal
2024-03-08 01:07:57 +01:00
Chris Boesch
9e9cf40453
Merge pull request 'Added threading exercise' ( #54 ) from 104_threading into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/54
2024-03-05 08:22:40 +00:00
Chris Boesch
6984345d0a
Added threading exercise
2024-03-05 09:15:57 +01:00
Chris Boesch
277304454a
Merge pull request 'Added notes to exercise 94 c_math.' ( #53 ) from 094_c-math into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/53
2024-02-28 12:06:56 +00:00
Chris Boesch
9e48c9a339
Added notes to exercise 94 c_math.
2024-02-28 13:01:11 +01:00
Chris Boesch
48b2032024
Merge pull request 'Zig version adjusted.' ( #50 ) from build_fix into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/50
2024-02-16 15:04:27 +00:00
Chris Boesch
55b2ac4c5f
Zig version adjusted.
2024-02-16 15:19:10 +01:00
Chris Boesch
099d0bba93
Merge pull request 'Text improvement' ( #48 ) from chrboesch-patch-1 into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/48
2024-02-11 14:12:07 +00:00
Chris Boesch
8257ccb5c8
Text improvement
...
closes #47
2024-02-11 14:07:37 +00:00
Chris Boesch
4b1ae6117c
Merge pull request 'Fix zig_exe location in Build struct' ( #45 ) from asd/ziglings:main into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/45
2024-02-06 18:36:50 +00:00
Alexander Saltanov
755911747f
Fix zig_exe location in Build struct
...
Reflect Zig breaking changes as of 105db13536
2024-02-06 00:06:19 +03:00
Chris Boesch
fa22e861d5
Merge pull request 'added space, missing after end-of-sentence dot.' ( #40 ) from anthon/exercises:missing-space-1 into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/40
2024-01-13 15:14:07 +00:00
Chris Boesch
7bfd7adce8
Update exercises/093_hello_c.zig
...
small typo
2024-01-13 14:27:58 +00:00
Anthon
58dff3f504
added space, missing after end-of-sentence dot.
2024-01-10 06:16:44 +00:00
Chris Boesch
0d46acfa02
Merge pull request 'Zig 0.12.0-dev.2043 compatability changes for test runner' ( #35 ) from drglove/exercises:zig-2043-changes into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/35
2024-01-05 13:52:09 +00:00
drglove
15de3785a3
Bump ziglang version in Version Changes header
2024-01-05 08:43:31 +00:00
drglove
7d23ddc1f6
Update version changes with 2043.
2024-01-05 08:27:52 +00:00
drglove
ba9447d2c6
Bump version to match required changes.
2024-01-05 08:24:29 +00:00
drglove
7a0cbb131f
Use std.Build.LazyPath over now removed std.Build.FileSource.
...
See corresponding ziglang change here: https://github.com/ziglang/zig/issues/16353
2024-01-05 08:17:09 +00:00
drglove
528a8645f8
Fix casing of std.build -> std.Build in tests.
2024-01-05 08:15:51 +00:00
Chris Boesch
b7dfa4cd1d
Merge pull request 'Correct comment to match code in 076_sentinels' ( #33 ) from mttrb/ziglings:076-comment into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/33
2024-01-04 20:47:06 +00:00
Matthew Robinson
1ed03cf0a1
Fix formatting of comment
2024-01-01 02:16:39 +08:00
Matthew Robinson
1a001b9eb7
Correct comment to match code in 076_sentinels
2024-01-01 01:41:31 +08:00
Chris Boesch
e7c106ba3a
Merge pull request 'Fix minor typo' ( #32 ) from babaiserror/exercises:typo into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/32
2023-12-30 16:34:16 +00:00
babaiserror
2fb7da53e7
Fix minor typo
2023-12-29 22:59:39 -05:00
Chris Boesch
72e15c9ef3
Merge pull request 'Removed ci/compat.sh as it is included in build.zig again' ( #30 ) from ci into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/30
2023-11-21 23:01:10 +00:00
Chris Boesch
492e5f5c40
Removed ci/compat.sh as it is included in build.zig again
2023-11-21 23:51:28 +01:00
Chris Boesch
5eafe16e97
Merge pull request 'Fix two minor typos' ( #29 ) from A-h-m-e-d/exercises:typos into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/29
Thanks!
2023-11-21 20:49:55 +00:00
Ahmed
46e3a38dbc
Fix two minor typos
2023-11-21 19:09:47 +02:00
Chris Boesch
f987a06ccc
Merge pull request 'Converted var to const if there is no mutation in the var.' ( #28 ) from var_const into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/28
2023-11-21 14:26:23 +00:00
Chris Boesch
b0511bb3c7
Fixed patch hunk
2023-11-21 15:22:36 +01:00
Chris Boesch
7679f93f68
Converted var to const if there is no mutation in var.
...
This is checked from compiler version 0.12.0-dev.1664
2023-11-21 15:01:22 +01:00
Chris Boesch
b7015c2d9d
Merge pull request 'fixed variable declaration by changing it to a const, since it's never mutated' ( #27 ) from zev/exercises:main into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/27
2023-11-21 13:20:51 +00:00
Zev Averbach
063a74c59a
fixed variable declaration by changing it to a const, since it's never mutated
2023-11-21 12:00:34 +01:00
Chris Boesch
f29c0692d5
Added link to 'Zig in Depth'
2023-11-19 14:51:24 +00:00
Chris Boesch
afe5511455
Merge pull request 'Changed three dots to colons, see #23 ' ( #25 ) from pr23 into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/25
2023-11-07 14:23:12 +00:00
Chris Boesch
cab5ee87bf
Changed three dots to colons, see #23
2023-11-07 15:18:00 +01:00
Chris Boesch
5a259a943f
Merge pull request 'Change the task so that the exercise contains two errors again.' ( #24 ) from i22 into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/24
2023-11-06 18:55:54 +00:00
Chris Boesch
55b58fea56
Change the task so that the exercise contains two errors again.
2023-11-06 19:50:47 +01:00
Chris Boesch
08d294f2b8
Merge pull request 'fixed build: renamed child.exec to run' ( #19 ) from fix_build into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/19
2023-10-24 10:42:25 +00:00
Chris Boesch
6446542867
Update .woodpecker/eowyn.yml
...
force pulling
2023-10-24 10:23:10 +00:00
Chris Boesch
8a1fbea5c9
fixed build: renamed exec to run
2023-10-24 11:57:44 +02:00
Chris Boesch
633af411e6
Update README.md
...
insert tag hint
2023-10-24 08:43:07 +00:00
Chris Boesch
890fe8e1c4
Merge pull request 'fixed typos' ( #17 ) from typos into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/17
2023-10-22 12:24:28 +00:00
Chris Boesch
2feeb282a9
fixed typos
2023-10-22 14:19:23 +02:00
Chris Boesch
fe65ff343f
Merge pull request 'Introduce syntax for turning a many pointer to a slice' ( #15 ) from hachanuy/exercises:054-clarify into main
...
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/15
2023-10-21 21:31:34 +00:00