Christoffer Lerno
1dfc24822e
Update pool test.
2025-02-24 22:37:20 +01:00
Christoffer Lerno
e35c7f0b90
Update pool test.
2025-02-24 18:07:36 +01:00
Christoffer Lerno
7083b2b8e5
Added --suppress-run from #1931 .
2025-02-24 11:25:07 +01:00
Christoffer Lerno
135213388d
Add bigint fixes to lib7
2025-02-24 11:15:50 +01:00
Jonas Quinten
ed62268997
std::math::bigint: Fixed init_with_array with empty array
2025-02-24 11:12:55 +01:00
Jonas Quinten
38110b0269
fix
2025-02-24 11:12:55 +01:00
Jonas Quinten
e34d56327a
std::math::bigint: Fixed init_with_u128 and init_with_array
2025-02-24 11:12:55 +01:00
Jonas Quinten
b50e6bd0e4
std::math::bigint: Added unit tests for init_with_u128 and init_with_array
2025-02-24 11:12:55 +01:00
Christoffer Lerno
3ba68f85fe
Fix bug checking for @builtin
2025-02-24 10:28:50 +01:00
Christoffer Lerno
9f5c5a9acf
Update some examples.
2025-02-24 02:20:02 +01:00
Christoffer Lerno
b6f5938eda
Change to {} generics in lib7. Update qoi and other encodings and multiple other small changes.
2025-02-24 01:44:57 +01:00
Christoffer Lerno
87725a3a9e
Create a unit7 for all unit tests.
2025-02-24 01:05:45 +01:00
Christoffer Lerno
70029cc4b8
Updated stdlib to experimental allocator first. Updates to DString, String and anything using new_* syntax.
2025-02-23 22:54:48 +01:00
Christoffer Lerno
4f72bc4be9
Fixes to lib7, added parallel test structure.
2025-02-23 13:53:04 +01:00
Christoffer Lerno
3a1aa8bdf0
Fix precedence of braces. Updated to lib2.
2025-02-23 01:30:34 +01:00
Christoffer Lerno
a986d053c0
Add lib2 to allow hacking the stdlib more for 0.7.x
2025-02-23 00:24:01 +01:00
Christoffer Lerno
43943c1f33
Update MSVC paths in CI
2025-02-22 23:02:07 +01:00
Christoffer Lerno
3da9f73338
- Output into /.build/obj/<platform> by default.
...
- Output llvm/asm into llvm/<platform> and asm/<platform> by default.
- Don't delete .o files not produced by the compiler.
- Correctly handle in/out when interacting with inout.
2025-02-22 22:34:26 +01:00
Christoffer Lerno
855be92881
Regression with .gitkeep in project init. List.init incorrectly didn't have the first argument the allocator. Added .init to priority queue. Created mem thread allocator alias. Correctly handle ident aliases. Allow ident on builtin aliases.
2025-02-21 21:34:48 +01:00
Christoffer Lerno
e674deb486
Fix generics.
2025-02-21 16:12:35 +01:00
Christoffer Lerno
3ef094a3d3
Add some conveniences to Clock and thread. Allow atomic load on booleans.
2025-02-21 15:56:32 +01:00
Christoffer Lerno
9c60c2cb33
Change to avoid thread races during compilation.
2025-02-21 13:15:19 +01:00
Christoffer Lerno
b54d994475
Fix memcmp misuse in parsing asm args.
2025-02-21 09:46:56 +01:00
Christoffer Lerno
80e360d8dd
Dispose of copied module.
2025-02-20 23:25:25 +01:00
Christoffer Lerno
9f165342e2
Revert disposal
2025-02-20 22:41:44 +01:00
Christoffer Lerno
a2bfeb156d
Dispose of the LLVMModule
2025-02-20 22:36:00 +01:00
Christoffer Lerno
bb8c03777d
Fix address overread
2025-02-20 21:56:28 +01:00
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