Christoffer Lerno
50680d6893
Fix bug casting bool to int to other int #1995 . Use test_suite7 in CI.
2025-02-25 15:36:06 +01:00
Christoffer Lerno
062a67fe75
Updates to file:: and path::, Path is now passed an allocator. path::traverse function. mkdir / rmdir / chdir works directly with strings. Strings get file_basepath, path_dirname. Test suite runner now uses lib7. Bug when printing a parameter declaration error. Fix optional jumps in expression lists, #1942 .
2025-02-25 02:18:33 +01:00
Christoffer Lerno
43943c1f33
Update MSVC paths in CI
2025-02-22 23:02:07 +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
Christoffer Lerno
d6485ca08b
Test new tester script.
2025-02-19 18:01:44 +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
ef72e19bf0
Remove 20 from docker.
2025-02-05 01:03:07 +01:00
Christoffer Lerno
07be4b0e06
Support new LLVM
2025-02-04 23:01:32 +01:00
Christoffer Lerno
3221180315
Fixes to `"exec" use.
2025-01-22 00:26:40 +01:00
Christoffer Lerno
5183370773
Update mingw llvm/lld
2025-01-20 14:53:59 +01:00
Christoffer Lerno
f863c4ae84
Fix incorrect arg type failing MSVC compilation. Missing ASSERT updated. Update python script. Fix bug printing error duplicate generic module.
2025-01-20 03:35:49 +01:00
Max
2a924ae3b0
fix the link order to support LLVM_20 change ( #1838 )
...
* fix the link order to support LLVM_20 change
* Update CI to use LLVM 20
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com >
2025-01-14 11:23:40 +01:00
vssukharev
ff33cc4dad
Add Nix build and checks to CI/CD
2025-01-06 23:11:04 +01:00
Christoffer Lerno
cf10837eb8
Add static lib for MSVC
2024-12-27 21:46:08 +01:00
Christoffer Lerno
291b26f230
Add static lib.
2024-12-27 02:05:40 +01:00
Christoffer Lerno
625152440c
Use weak_odr rather than weak on Windows which seems to prevent issues such as #1704 . Fix regression.
2024-12-26 21:35:41 +01:00
Christoffer Lerno
0ff52311c3
- Fix problem where crt1 was linked for dynamic libraries on Linux and BSD. #1710
2024-12-23 20:02:17 +01:00
Christoffer Lerno
ca2dbb2f4b
Update Mingw build.
2024-12-20 21:56:28 +01:00
Christoffer Lerno
13509b9231
Remove LLVM 20 from testing due to broken build.
2024-12-19 19:51:50 +01:00
Christoffer Lerno
ec82ec0426
Fix CI.
2024-12-04 00:02:36 +01:00
Christoffer Lerno
f3bf9eb14d
Update mingw packages.
2024-11-21 11:31:55 +01:00
Christoffer Lerno
e0ba468b7e
Update mingw libs.
2024-11-14 01:26:29 +01:00
Christoffer Lerno
31cd839063
Switch to <* *> docs. Fix issue with dynamically loaded C3 libs with other C3 code.
2024-10-14 02:14:34 +02:00
Christoffer Lerno
02e9bfaf31
Separate const slice. Fix #1489 . Fix const slice appending. Remove unintended print of char[] as String. Support const conversion of array -> slice.
2024-10-03 15:04:33 +02:00
Christoffer Lerno
44fcba2e3a
Remove LLVM 20
2024-10-01 15:58:23 +02:00
Christoffer Lerno
f434795ee5
Test enable 19 and 20
2024-10-01 15:51:44 +02:00
Christoffer Lerno
a8932910d9
wasm32 / wasm64 targets are use-libc=no by default.
2024-09-25 21:01:00 +02:00
Christoffer Lerno
2a9078a3b4
Also depend on Ubuntu20
2024-09-20 23:14:19 +02:00
Christoffer Lerno
d5a96ed637
Disabling LLVM 19 again.
2024-09-20 19:16:33 +02:00
Christoffer Lerno
8d9eff5297
Re-enable LLVM 19
2024-09-20 16:22:04 +02:00
Christoffer Lerno
62887a6ce8
Temporarily disable building with LLVM 19 and 20
2024-09-17 00:28:53 +02:00
Christoffer Lerno
297a6c9348
Support C3C_LIB and C3C_CC environment variables. Enable compiling against 20 to see if it works.
2024-09-17 00:12:50 +02:00
Real-Packet
1bfe9c568e
chore(ci): Update actions/*-artifact to v4 (simple find & replace)
...
Because v3 is being deprecated and uses Node 16 instead of Node 20.
v4 is also a drop in replacement so we can just find & replace the usages without any changes to easily upgrade to v4.
2024-09-15 02:11:00 +02:00
Christoffer Lerno
c3a5f5c0f0
Build macos version with LLVM 17
2024-09-14 22:18:33 +02:00
Christoffer Lerno
c0875d7987
Fix macos release.
2024-09-14 22:15:16 +02:00
Christoffer Lerno
6b6ac2bcb3
Rename release files.
2024-09-14 20:19:12 +02:00
Real-Packet
3ceaf2ab81
chore: migrate to softprops/action-gh-release
...
Hopefully this works. Had to generate a new GPG key because GPG requires a password for signing stuff with GPG and I forgot to use it to sign something so I could save it in the password manager.
Fixes c3lang/c3c#1437
2024-09-13 15:07:45 +02:00
Christoffer Lerno
de13023981
Converting a slice to a vector/array would copy too little data.
2024-09-06 15:36:43 +02:00
Christoffer Lerno
7134b3ba35
Update Raylib examples to use Raylib5.
2024-08-29 23:34:31 +02:00
Christoffer Lerno
40455f5260
Print linking in CI
2024-08-25 20:30:21 +02:00
Christian Buttner
59ed118e66
Address/memory/thread sanitizer.
2024-08-23 16:06:22 +02:00
Christoffer Lerno
33ce8e8a75
Add path test windows.
2024-08-21 10:15:45 +02:00
Christoffer Lerno
3ccb4b9ec3
$exec may now provide a stdin parameter. Deprecated path.append, path.tappend, getcwd, tgetcwd, path.absolute, ls. Deprecated env::get_config_dir, replaced by env::new_get_config_dir. Added path.has_extension, path.new_append, path.temp_append, new_cwd, temp_cwd, path.new_absolute, new_ls, temp_ls. Added dstring.replace Updated win escapes for exec.
2024-08-15 00:31:47 +02:00
Christoffer Lerno
e68b453218
Do not bundle output with docker.
2024-08-13 15:23:56 +02:00
Tom Clesius
e7e9d3b8c7
Adapt Docker script and Dockerfile ( #1347 )
...
Adapt Docker script and Dockerfile
2024-08-13 13:37:16 +02:00
Christoffer Lerno
baf6e71a80
Fix interface lazy resolution errors. Fix i128 change in LLVM.
2024-08-12 01:25:30 +02:00
Alexey Kutepov
a5b5f315d1
Implement passing arguments to program via compile-run ( #1296 )
2024-08-03 19:47:52 +02:00
Christoffer Lerno
d8820259d2
Enable LLVM 19
2024-08-01 00:21:14 +02:00
Christoffer Lerno
354d78e893
Temporarily disable LLVM for Linux
2024-08-01 00:12:01 +02:00
Chuck Benedict
563e677b08
Add Riscv Example ( #1268 )
...
Add Riscv example. Risc-V CI. Install baremetal toolchain. Prevent imported crt file from messing up linker search.
2024-07-31 14:43:47 +02:00