gingerBill
54515af8cc
Add field tags to bit_field
2024-02-22 19:41:48 +00:00
gingerBill
3f193d7446
Format change
2024-02-22 19:27:13 +00:00
gingerBill
e127d21fed
Check for pseudo-fields before bit fields
2024-02-22 19:24:50 +00:00
gingerBill
3060225f46
Simplify usage code
2024-02-22 19:24:16 +00:00
gingerBill
c14b9d461a
Support using of a bit_field within a struct
2024-02-22 19:14:16 +00:00
gingerBill
8060e3170e
Remove debug message
2024-02-22 18:53:02 +00:00
gingerBill
980947b355
Give a better error message when the user uses context as if it was an identifier in a field list.
2024-02-22 18:52:17 +00:00
gingerBill
fd987b29ff
Improve error handling with assignments to bit_field using constants
2024-02-22 18:47:43 +00:00
gingerBill
afcc2889ec
Support compound literals for bit_field
2024-02-22 18:41:15 +00:00
gingerBill
5f001f6d51
Allow casting between a bit_field and its backing type
2024-02-22 18:15:13 +00:00
gingerBill
fc07211772
Change hack a little
2024-02-22 17:43:37 +00:00
gingerBill
c9e37a08be
Add backing type of a bit_field to the doc-format
2024-02-22 17:41:22 +00:00
gingerBill
dcbcf75269
Add doc-format support for bit_field
2024-02-22 17:37:42 +00:00
gingerBill
59479b2ba6
Fix typo
2024-02-22 17:26:32 +00:00
gingerBill
5a84a08225
Add general support for bit_fields
2024-02-22 17:24:42 +00:00
Laytan Laats
bb23648c71
Also convert and promote bit_set types for #c_varargs
2024-02-22 18:17:52 +01:00
gingerBill
a4b8c1ea17
Begin work adding bit_field
2024-02-22 15:55:54 +00:00
gingerBill
f3b0b82461
Fix futex
2024-02-22 14:04:31 +00:00
gingerBill
fea38f6910
Minor changes to futex implementation on Linux
2024-02-22 14:01:39 +00:00
gingerBill
213b2fd0f8
Add bit_field as a keyword
2024-02-22 14:01:23 +00:00
Laytan Laats
f6f3a760bc
Promote types in #c_varargs according to C rules
2024-02-21 22:05:11 +01:00
Laytan Laats
1fc256dd90
Fix divergent proc call in defer
...
Fixes #3216
Fixes #2985
2024-02-21 19:43:34 +01:00
gingerBill
21d1c0e5a4
Revert change since it is not needed
2024-02-21 12:58:26 +00:00
gingerBill
d7b7804215
if -> while in wait_signal_until_available to check for spurious wake-ups
2024-02-21 12:55:26 +00:00
Laytan Laats
db87c34613
Add backend info to odin report
2024-02-20 23:23:56 +01:00
Laytan Laats
159257597a
Convert weird DOS line-endings to UNIX
2024-02-20 23:22:05 +01:00
Slendi
c178f7199d
Get Odin to compile on Haiku
...
This patch makes Odin to compile on Haiku which is a good first step.
Now, all that's needed to do is to figure out how to do futexes, which
I am blaming for the program crashing.
2024-02-15 15:51:28 +02:00
gingerBill
c5c2a4d09d
Fix typo
2024-02-13 17:13:39 +00:00
gingerBill
912c326d8b
Fix typo that causes map info debug issues
2024-02-13 17:06:04 +00:00
gingerBill
d496dbf3a0
Fix race condition with #soa
2024-02-13 16:54:41 +00:00
gingerBill
cbfb32c34c
Fix race condition with regards to #soa arrays by using the fields mutex
2024-02-13 16:21:41 +00:00
gingerBill
5cd57a3a7f
Use Raw_Map as the debug information for a map
2024-02-13 15:50:07 +00:00
gingerBill
f378367fe7
Store cell data in map debug metadata
2024-02-12 15:17:06 +00:00
gingerBill
c291fffce1
Add metadata type to maps debug information to aid debuggers knowing what is in it it
2024-02-12 12:29:37 +00:00
gingerBill
5c4485f657
Add #load_directory(path: string) > []runtime.Load_Directory_File
2024-02-09 15:18:29 +00:00
gingerBill
d771b3286d
Merge pull request #3182 from laytan/fix-instrumentation-in-debug-mode
...
fix instrumentation in debug mode
2024-02-08 21:36:43 +00:00
Laytan
0e6dd56ac1
fix instrumentation in debug mode
2024-02-08 22:29:45 +01:00
Laytan
eab0e730a0
fix -no-crt on Linux
2024-02-08 19:48:37 +01:00
gingerBill
7b672ac72a
Disallow mixture of polymorphic $ names and normal identifiers within record parameters
2024-02-08 14:03:03 +00:00
gingerBill
8f4ab3c07d
Add check for a procedure
2024-02-08 13:49:27 +00:00
gingerBill
dc5cfacc0a
Fix edge case for procedures
2024-02-08 13:45:18 +00:00
gingerBill
3aea2e1fff
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-02-08 13:41:07 +00:00
gingerBill
59933b244d
Allow polymorphic checking with intrinsics.type_is_subtype_of(Derived_Type, Poly_Type)
2024-02-08 13:41:02 +00:00
gingerBill
42aca72d9f
Correct the logic for parapoly records to match that of procedures (polymorphic non-typeid parameters)
2024-02-08 13:21:41 +00:00
Laytan Laats
a8c4f46747
fix ci
2024-02-07 19:53:52 +01:00
gingerBill
a08250ac5b
Improve error handling for missing library collection provided by the compiler
2024-02-07 17:15:59 +00:00
gingerBill
abaa906f34
Fix lb_hasher_proc_for_type
2024-02-07 11:05:38 +00:00
gingerBill
1ebb7f8e9d
Merge pull request #3170 from flysand7/run-args-fix
...
Make run args take the first '--' as the start of the args, instead of the last '--'
2024-02-05 13:58:32 +00:00
gingerBill
80a0b161b0
Force 128-bit calls on wasm
2024-02-05 13:51:16 +00:00
gingerBill
27feb5998c
Add require to 128-bit and f16 casts
2024-02-05 13:49:10 +00:00