Christoffer Lerno
8338888976
Do not use optimization for C++ wrapper.
2025-02-20 18:36:22 +01:00
Christoffer Lerno
79db06ecd1
Crash when trying to define a method macro that isn't @construct but has no arguments.
2025-02-20 15:51:21 +01:00
Christoffer Lerno
341a70bd5d
Implicitly unwrapped optional value in defer incorrectly copied #1982 .
2025-02-20 03:44:22 +01:00
Christoffer Lerno
8bf9ca89a1
Add a separate job to just run the test suite runner for Mac.
2025-02-20 02:30:43 +01:00
Alex Veden
5046608d1f
added io::stdout().flush() - to force printing test name before possible deadlock
...
mem::scoped() and long jump resilience fixed #1963
fixed --test-nosort argument + extra test for teardown_fn memory leak
Some renaming. Simplify robust test allocator handling. Pop temp allocators in test runner.
`Thread` no longer allocates memory on posix.
Update unprintable struct output.
Correctly give an error if a character literal contains a line break.
2025-02-20 01:15:48 +01:00
Christoffer Lerno
535151a2a5
Fix character literal regex.
2025-02-20 00:59:18 +01:00
Christoffer Lerno
b45cb22950
Some improvements to the test_suite_runner
2025-02-19 20:59:12 +01:00
Christoffer Lerno
d6485ca08b
Test new tester script.
2025-02-19 18:01:44 +01:00
Christoffer Lerno
d9e5926d57
Fix error when boolean combined with ??. First checkin of C3 tester (unfinished)
2025-02-19 01:02:58 +01:00
Christoffer Lerno
cbacd64987
Update tests to (Foo) { ... } syntax.
2025-02-18 18:53:30 +01:00
Christoffer Lerno
168c11e006
{| |} expression blocks deprecated.
2025-02-18 12:50:34 +01:00
Mateo Acuña
26362d5068
Improve crtbegin.o Lookup for Linux Targets ( #1975 )
...
* refactor linux crtbegin lookup to use architecture-specific glob paths
* Fixed incorrect function call to `get_linux_crt_begin_glob_path` (`get_linux_crt_begin_arch_glob`)
* Formatting
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com >
2025-02-18 00:30:54 +01:00
Christoffer Lerno
e77d1fb646
- Increase precedence of (Foo) { 1, 2 }
...
- Add `--enable-new-generics` to enable `Foo{int}` generic syntax.
2025-02-18 00:26:22 +01:00
Christoffer Lerno
c41d551ead
Create 0.6.8
2025-02-18 00:26:22 +01:00
Christoffer Lerno
0d7697280c
Fix of test (again)
v0.6.7
2025-02-17 00:22:21 +01:00
Christoffer Lerno
0a93581695
Fix test.
2025-02-17 00:03:44 +01:00
Christoffer Lerno
0509b40b21
- Fix issue when dereferencing a constant string.
...
- Fix problem where a line break in a literal was allowed.
2025-02-16 23:55:55 +01:00
Christoffer Lerno
6e11bdbd35
Fix issue where target was ignored for projects.
2025-02-16 23:31:03 +01:00
Christoffer Lerno
8a6e996442
Create release candidate 0.6.7
2025-02-16 01:24:51 +01:00
pekochan069
be00fdb253
Add scoop installation
2025-02-14 20:13:50 +01:00
Christoffer Lerno
0dd1a93d0d
Regression String! a; char* b = a.ptr; would incorrectly be allowed.
2025-02-14 16:11:31 +01:00
Christoffer Lerno
7ca70b20be
Allow (Foo) { 1, 2 } syntax for compound literals.
2025-02-14 12:51:58 +01:00
Bruno Dias
e0cfe56121
Fixed nix build for macos. ( #1914 )
...
* Fixed nix build for macos.
* Fix test.
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com >
2025-02-13 22:44:21 +01:00
Christoffer Lerno
6ca77065d8
Fix issue when parsing bitstructs, preventing them from implementing interfaces.
2025-02-13 21:51:22 +01:00
Christoffer Lerno
e96dce92cd
Issue when scalar expanding a boolean from a conditional to a bool vector #1954 .
2025-02-13 21:36:28 +01:00
Christoffer Lerno
cec9b21707
Missing end padding when including a packed struct #1966 .
2025-02-13 21:15:27 +01:00
Christoffer Lerno
8c58b31bbd
Remove <[]> experimental generic syntax.
2025-02-13 12:53:46 +01:00
Christoffer Lerno
c785572467
Add allocator::wrap.
2025-02-13 03:10:53 +01:00
Jamie Wales
a297470887
Add further tests to vector library
2025-02-12 23:31:10 +01:00
Velikiy Kirill
f0682422c0
Add more Windows API types and structs ( #1956 )
...
* Add more Windows API types and structs
* Add more Windows API types and structs (merged sock.c3 to wsa.c3)
* Some formatting.
---------
Co-authored-by: Kirill Velikiy <velikoss@vk.com >
Co-authored-by: Christoffer Lerno <christoffer@aegik.com >
2025-02-12 23:30:07 +01:00
Christoffer Lerno
1f856cacf5
HashMap is now Printable. Fix access inlining for enums. #1958
2025-02-12 23:11:46 +01:00
Ygor Pontelo
c9ecb09cd7
duration fix ( #1950 )
...
* duration fix
* Update release notes, explicitly send -1.
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com >
2025-02-12 22:13:07 +01:00
Christoffer Lerno
4961d0433f
- Circumvent Aarch64 miscompilations of atomics.
...
- Fixes to ByteBuffer allocation/free.
- Fix issue where compiling both for asm and object file would corrupt the obj file output.
2025-02-12 12:50:30 +01:00
Christoffer Lerno
ba48627ca0
Fix address out of bounds access in test.
2025-02-11 00:22:01 +01:00
Christoffer Lerno
45eb3acffe
Remove unused parameter in mem::clear.
2025-02-11 00:15:33 +01:00
Christoffer Lerno
d3ad533dd6
Fix issue in List with sanitizers.
2025-02-11 00:13:04 +01:00
Christoffer Lerno
9e54014848
Fix issue in GrowableBitSet with sanitizers.
2025-02-10 23:55:02 +01:00
Christoffer Lerno
f8e3ffd267
Fix test
2025-02-10 22:19:16 +01:00
Christoffer Lerno
8b8a2beb0d
Fix threading test.
2025-02-10 22:08:54 +01:00
Christoffer Lerno
79a4b6855b
- Detect unaligned loads #1951 .
...
- Fix issue where aligned bitstructs did not store/load with the given alignment.
2025-02-10 22:07:15 +01:00
Christoffer Lerno
86680279fa
Improve inference on ?? #1943 .
2025-02-10 16:20:33 +01:00
Christoffer Lerno
b46d3947dd
Postpone Xtensa addition.
2025-02-10 12:00:50 +01:00
Christoffer Lerno
c4212c4649
- Test runner will also check for leaks.
...
- `write` of qoi would leak memory.
- Issue when having an empty `Path` or just "."
- `set_env` would leak memory.
2025-02-10 00:39:02 +01:00
Christoffer Lerno
63f619e5b6
Add tracking allocator to test runner. #1809
2025-02-09 03:10:35 +01:00
Christoffer Lerno
ce06de4b18
Updates to grammar.
2025-02-09 02:19:27 +01:00
Christoffer Lerno
e1d546225f
Update stdlib with new syntax for short function decl.
2025-02-08 23:04:59 +01:00
Christoffer Lerno
c4f9efc8f5
Allow fn int test() => @pool() { return 1; } short function syntax usage #1906 .
2025-02-08 22:45:14 +01:00
Christoffer Lerno
69e30c19f8
Distinct inline void causes unexpected error if used in slice #1946 .
2025-02-08 20:33:08 +01:00
Christoffer Lerno
940874e349
Cleaner error message when missing comma in struct initializer #1941 .
2025-02-08 19:54:44 +01:00
Christoffer Lerno
d3f2180330
bigint::from_int(0) throws assertion #1944 .
2025-02-08 19:15:14 +01:00