Commit Graph

5920 Commits

Author SHA1 Message Date
gingerBill
842cfee0f3 Change Odin's LICENSE to zlib from BSD 3-clause
This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
2025-10-28 14:38:25 +00:00
Jeroen van Rijn
788ef8ee0a Merge branch 'master' of github.com:odin-lang/Odin 2025-10-27 16:24:04 +01:00
Jeroen van Rijn
f726f7aff4 Make Karl Zylinski happy 2025-10-27 16:23:54 +01:00
gingerBill
78c3a3301c Change static_assert for OrderedInsertPtrMapEntry 2025-10-27 14:04:51 +00:00
gingerBill
8bdc322d6a Just use a method instead 2025-10-27 11:29:13 +00:00
gingerBill
288434ab30 One more time with a different cast? 2025-10-27 11:25:22 +00:00
gingerBill
62d231d685 Try C-cast with reintepret cast 2025-10-27 11:20:28 +00:00
gingerBill
6edb26dcf8 Use reinterpret_cast 2025-10-27 11:10:53 +00:00
gingerBill
13f2090608 Try to make PtrMap work for 32-bit compilers 2025-10-27 11:06:07 +00:00
gingerBill
43529dda38 Improve error message for missing & in some parapoly messages 2025-10-27 10:58:54 +00:00
gingerBill
7c2101ea3d Merge pull request #5812 from Kelimion/data-alignment
Set minimum #load(file, type) alignment to 16 bytes
2025-10-22 11:27:18 +01:00
gingerBill
61424cfbf8 Merge pull request #5811 from wrathdoesthat/master
Fix orca linking path
2025-10-22 11:26:06 +01:00
gingerBill
c332266e46 Merge pull request #5814 from laytan/wgpu-27.0.2.0
vendor/wgpu: update to 27.0.2.0
2025-10-22 09:47:23 +01:00
Jeroen van Rijn
0605c7b0e3 Add target triple and LLVM code mode debug prints (#5839) 2025-10-22 10:27:27 +02:00
gingerBill
55ab18f911 Fix #5831 2025-10-22 09:07:46 +01:00
jakubtomsu
c21453acc5 comment 2025-10-18 16:18:58 +02:00
jakubtomsu
91750e2f1b prefer Type pointer over LLVMTypeRef when doing a struct_field_remapping lookup 2025-10-18 16:11:47 +02:00
Laytan
a7a0a9eaf6 vendor/wgpu: update to 27.0.2.0 2025-10-15 19:49:21 +02:00
Jeroen van Rijn
faa9222fef Set minimum #load(file, type) alignment to 16 bytes 2025-10-15 18:04:24 +02:00
wrathdoesthat
798f4b011c Merge branch 'odin-lang:master' into master 2025-10-15 10:09:47 -04:00
Wrath
6356cadfcc Fix orca linking path 2025-10-15 10:08:44 -04:00
Username-Leon
4dd6bb2e87 Merge branch 'master' of https://github.com/LeonardoTemperanza/Odin 2025-10-15 15:30:32 +02:00
Username-Leon
e10093bd99 Fix wrong alignment for typed load directive. 2025-10-15 15:30:06 +02:00
Laytan
e7ecb16a1e llvm 21 support 2025-10-14 19:55:00 +02:00
Jeroen van Rijn
073e043b02 Fix hang, courtesy of cloin. 2025-10-13 02:59:57 +02:00
gingerBill
d267891ac9 Merge pull request #5797 from harold-b/hb.export-linked-libs
Add build flag to export the linked libraries
2025-10-12 10:52:50 +01:00
gingerBill
85005babc2 Merge pull request #5794 from alsakandari/improve-target-features
Improve target features flag by allowing the user to disable a target feature
2025-10-12 10:19:45 +01:00
Harold Brenes
612b219230 Fix -export-linked-libs-file system lib check 2025-10-12 02:00:18 -04:00
Harold Brenes
0de3de7257 Use exact value to determine system linked libs with -export-linked-libs-file 2025-10-12 01:57:29 -04:00
Harold Brenes
937161f68d Add -export-linked-libs-file build flag.
This build flag writes a list of the libraries that were linked during the build to the specified file.
2025-10-12 01:03:27 -04:00
Jeroen van Rijn
e4db455458 Fix #5785 2025-10-11 20:32:09 +02:00
Jeroen van Rijn
5dbade87e9 Simple compare is also comparable 2025-10-11 15:43:30 +02:00
Jeroen van Rijn
e6754547ab Fix #5786 2025-10-11 15:17:23 +02:00
Jeroen van Rijn
b3dfd34f2d #5788 2025-10-11 14:57:45 +02:00
Jeroen van Rijn
48a79a6f8c Fix #5789 2025-10-11 14:55:48 +02:00
Yhya Ibrahim
c4a8af0f0d Check for + and - in the target features set 2025-10-11 15:48:12 +03:00
Yhya Ibrahim
a672c68f03 Make -target-features flag support disabling of a feature 2025-10-11 15:26:01 +03:00
gingerBill
7e7b6ac0de Add short-circuit for check_cast_internal 2025-10-10 14:37:18 +01:00
gingerBill
7e64dedb77 Fix #5778 2025-10-10 14:31:41 +01:00
gingerBill
26b3a4d182 Handle concatenation at the end 2025-10-10 12:09:41 +01:00
gingerBill
1387c3d311 Remove unneeded type expression 2025-10-10 12:04:22 +01:00
gingerBill
24bc044d78 Support fixed-length arrays for intrinsics.concatenate 2025-10-10 12:00:44 +01:00
gingerBill
5e12532eba Add basic type inference to the arguments 2025-10-10 11:50:02 +01:00
gingerBill
061b14e164 Allow intrinsics.concatenate to be variadic 2025-10-10 11:48:18 +01:00
gingerBill
1572ed57b6 Add intrinsics.concatenate 2025-10-10 11:40:36 +01:00
gingerBill
b04c3900ab Merge pull request #5774 from A1029384756/llvm-14-fixes
[llvm-14-fixes] fix `const_pad_to_size` for strings
2025-10-09 17:15:47 +01:00
A1029384756
be9384fc8d [llvm-14-fixes] use specific LLVMConst* codepaths for LLVM 14 2025-10-09 12:03:25 -04:00
gingerBill
025cb03242 Add all-bits to feature tag 2025-10-09 15:02:16 +01:00
gingerBill
adc44312bf const string -> constant string 2025-10-09 10:36:50 +01:00
gingerBill
a60058259d Allow intrinsics.type_union_tag_offset with maybe-like unions 2025-10-09 10:25:48 +01:00