Commit Graph

17783 Commits

Author SHA1 Message Date
gingerBill
9653137a74 Merge pull request #6931 from thetarnav/remove-handle-map-builtin-import
Remove unused `base:builtin` import from `core:container/handle_map`
2026-07-02 14:00:46 +01:00
Jeroen van Rijn
e4cfd9221b Merge pull request #6932 from Kelimion/improve_out
Improve custom output location for LLVM-IR, OBJ + ASM
2026-07-02 14:43:02 +02:00
Jeroen van Rijn
03652d7423 Improve custom output location for LLVM-IR, OBJ + ASM
Fixes #6926.

If `build` is a subdirectory in the current directory, then `odin build . -out:build` will place `.S`, `.obj` and `.ll` files there if the corresponding `-build-mode` is given.
2026-07-02 14:19:56 +02:00
thetarnav
76902f5bfb Remove unused "base:builtin" import from "core:container/handle_map" 2026-07-02 13:18:35 +02:00
Jeroen van Rijn
eee06be76f Merge pull request #6930 from JoltedJon/utf8-decode-fix
Fix UTF-8 decode error check
2026-07-02 12:03:26 +02:00
Jeroen van Rijn
d5c4cd6e8f Merge pull request #6900 from MauriceElliott/maurice/playdate_support
Playdate Support
2026-07-02 12:00:58 +02:00
Jeroen van Rijn
4bc9750373 Fix #6843 2026-07-02 11:05:53 +02:00
JoltedJon
9cc180f0ec Fix UTF-8 decode error check 2026-07-01 22:54:48 -04:00
Jeroen van Rijn
0d2eb2ec96 Merge pull request #6928 from bergperri/fix-field-names-report-error
Fix compiler segmentation fault when field names start with '.'
2026-07-02 03:41:14 +02:00
Mike
7ccbd3d4ec Fix compiler segmentation fault when field names start with '.' 2026-07-01 21:55:11 -03:00
MauriceElliott
adc50a1184 fixup! fix: made suggested changes to add a playdate subtarget, updated help text and reduce required build flags for playdate to just the subtarget, no-movt and cortex-m7 added to default on playdate subtarget flag. 2026-07-01 21:21:02 +01:00
MauriceElliott
56cee0c2cf fix: made suggested changes to add a playdate subtarget, updated help text and reduce required build flags for playdate to just the subtarget, no-movt and cortex-m7 added to default on playdate subtarget flag. 2026-07-01 21:18:28 +01:00
gingerBill
882736d330 Merge pull request #6920 from tf2spi/6674-patch-cmp-anonymous-procs
Add ways to diff anon procs with same signature
2026-07-01 11:02:21 +01:00
Jeroen van Rijn
f32c8ed44b Warning 2026-07-01 11:49:11 +02:00
Jeroen van Rijn
7b57c3eff2 User 2026-07-01 11:37:44 +02:00
Jeroen van Rijn
92ced49bbd Fix typo 2026-07-01 11:16:28 +02:00
misomosi
eb47032840 Add ways to diff anon procs with same signature 2026-07-01 01:49:35 -04:00
gingerBill
45eed87309 Allow #no_alias on any pointer-like type 2026-07-01 01:21:49 +01:00
gingerBill
957789d85a Merge pull request #6916 from tf2spi/6911-check-c-varargs
Only allow direct CVarArg usage in c_va_start
2026-07-01 01:12:19 +01:00
MauriceElliott
a3fa3476c6 feat(arm32 cdecl): Added thumb as the triple for cortex-m7. Updated the calling convention for cortex-m7 arm32 micro processors as the soft float register was being used when calling across the C ABI boundary causing guff data to be passed. 2026-06-30 20:07:36 +01:00
misomosi
c7cd4b9e95 Only allow direct CVarArg usage in c_va_start 2026-06-30 14:18:54 -04:00
Maurice Elliott
ab11e45a4a Merge branch 'odin-lang:master' into master 2026-06-30 19:17:24 +01:00
gingerBill
e276ce552b Merge pull request #6908 from tf2spi/6884-emit-tuple-c-varargs
Use lb_add_values_to_array for cvarargs
2026-06-30 12:33:27 +01:00
gingerBill
16ac69517c Merge pull request #6914 from Kelimion/fix-xml
Fix whitespace normalize
2026-06-30 12:32:41 +01:00
Jeroen van Rijn
4b9f396cb3 Fix whitespace normalize 2026-06-30 13:23:44 +02:00
gingerBill
62511914de When inserting a constant union into a struct literal, rebuild the struct to be non-named with llvm_const_insert_value_with_rebuild 2026-06-30 12:16:21 +01:00
gingerBill
28a43fd4f7 Short-circuit further for constant unions in the LLVM constant literal syntax 2026-06-30 11:49:35 +01:00
gingerBill
d0847b7ce8 Merge pull request #6913 from tf2spi/6831-add-constant-type-checks
Add more constant type cases
2026-06-30 11:29:26 +01:00
misomosi
c8aa151a66 Add more constant type cases 2026-06-29 22:46:17 -04:00
gingerBill
47fa8df598 Fix comment 2026-06-29 17:01:44 +01:00
gingerBill
ac6a0f9a40 Move around the ordering of find_visual_studio_and_windows_sdk 2026-06-29 16:36:21 +01:00
gingerBill
1cdf314015 Remove debug print string 2026-06-29 16:04:24 +01:00
misomosi
12e8ba8d66 Use lb_add_values_to_array for cvarargs 2026-06-29 10:01:50 -04:00
gingerBill
cec2127068 Merge pull request #6906 from tf2spi/6902-off-by-one
Report range type correctly on out-of-bounds
2026-06-29 13:51:09 +01:00
gingerBill
37c349e604 Fix #6907 2026-06-29 13:47:46 +01:00
gingerBill
7d32c733d3 json.match utility procedure 2026-06-29 13:44:45 +01:00
gingerBill
9e713e2940 Update core:encoding/json to use proc groups and @(require_results) 2026-06-29 13:44:29 +01:00
misomosi
fc62110392 Report range type correctly on out-of-bounds 2026-06-29 08:29:14 -04:00
gingerBill
70607eeb0b Merge pull request #6905 from odin-lang/bill/constant-union-fixes
Fix constant union stuff against tests
2026-06-29 13:10:02 +01:00
gingerBill
e24bbb813c Merge branch 'master' into bill/constant-union-fixes 2026-06-29 13:02:12 +01:00
gingerBill
b9a9846b7c Fix constant union stuff against tests 2026-06-29 13:00:44 +01:00
gingerBill
42f681baff Revert some of the union changes 2026-06-29 12:18:40 +01:00
gingerBill
2f3174fe10 Fix llvm_const_cast with constant union literals 2026-06-29 11:41:27 +01:00
gingerBill
feb9b6159e Fix pkg.Constant.field union access 2026-06-29 11:06:34 +01:00
gingerBill
138748c24a Merge branch 'master' of https://github.com/odin-lang/Odin 2026-06-29 10:49:47 +01:00
gingerBill
e227c736e6 Fix #6786 2026-06-29 10:49:29 +01:00
gingerBill
6fae6827cc Merge pull request #6904 from tf2spi/6889-count-bits
Resolve panic on 64-bit overflow
2026-06-29 10:30:00 +01:00
gingerBill
a4dcf8f5d6 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-06-29 00:55:16 +01:00
gingerBill
6e65b5e4bc Allow for more "constantable" union values 2026-06-29 00:55:07 +01:00
misomosi
5be99bf1c2 Add missing check_is_expressible 2026-06-28 19:25:22 -04:00