gingerBill
fde90931de
Add case for completeness
2026-02-02 11:16:05 +00:00
gingerBill
3dccd4e3ad
Fix debug info
2026-02-02 11:15:34 +00:00
gingerBill
e014181abf
Move values construction to after padding has been set
2026-02-02 11:12:42 +00:00
gingerBill
19b545e7cb
Merge branch 'master' into bill/feature-using-stmt
2026-01-30 10:49:55 +00:00
gingerBill
7125782bd2
Support -linker:mold on FreeBSD and NetBSD; Remove -use-lld and -use-radlink
2026-01-30 10:46:35 +00:00
Faker-09
30ef01ee8d
Merge branch 'odin-lang:master' into vet_flags
2026-01-29 11:35:24 -05:00
gingerBill
67541434f4
Remove else check for untyped to typed
2026-01-29 11:58:37 +00:00
gingerBill
07d814d9cf
Add struct #simple to force a struct to use simple comparison if all of the fields "nearly simply comparable".
2026-01-29 10:49:26 +00:00
gingerBill
4a7fb46667
Complete is_type_simple_compare switch rules
2026-01-29 09:21:31 +00:00
Shane Shrybman
f6322b4b31
Fix for vet flags. All combinations of vet flags on the command line and top of file are working
2026-01-28 14:18:30 -05:00
gingerBill
37c2f68824
Allow #unroll for arrays of fixed length which are not constants
2026-01-28 15:30:23 +00:00
gingerBill
92bef45781
Fix #6183
2026-01-27 09:44:52 +00:00
gingerBill
7bdd0a80ca
Allow for CONSTANT_TYPEID_ARRAY[idx] to be used as a type in certain contexts
2026-01-26 19:31:37 +00:00
gingerBill
27bd72c18a
Fix constant indexing within a call that doesn't exist
2026-01-26 19:15:40 +00:00
gingerBill
3586bda6ae
Use context.assertion_failure_proc with type assertions when the context is available, otherwise use a trivial trap.
2026-01-26 18:23:29 +00:00
gingerBill
0774b7465f
Allow for shortcut to get feature flags from the expression directly assuming it as a file
2026-01-26 15:51:38 +00:00
gingerBill
efdb89afcb
Revert dynamic literals feature check
2026-01-26 15:41:15 +00:00
gingerBill
afe4369f6e
Add #+feature force-type-assert which overrides -no-type-assert on a per-file basis
2026-01-26 15:37:54 +00:00
gingerBill
83a10e929f
Require space after the prefix of #+build style tags
2026-01-26 10:49:24 +00:00
gingerBill
cc4a7ec11c
Merge pull request #6166 from laytan/vet-file-tags-in-addition-to-command-line
...
make #+vet tags always work in addition to command line flags
2026-01-24 13:55:41 +00:00
Jeroen van Rijn
cd684ed7a0
Merge pull request #6159 from Barinzaya/fix-const-bitset-contains
...
Fix `in`/`not_in` on constant `bit_set`s
2026-01-24 14:32:33 +01:00
Jeroen van Rijn
1c529d8cb2
Fix #6165
2026-01-24 14:06:31 +01:00
Laytan Laats
a9a65b5377
make #+vet tags always work in addition to command line flags
2026-01-24 12:59:55 +01:00
Jeroen van Rijn
e0ff16f98c
Fix #6126
...
`ExactValue_Compound` wasn't handled properly.
2026-01-24 10:53:38 +01:00
Barinzaya
5e4895e76d
Fixed some issues with in and not_in on constant bit_sets.
...
This addresses two issues:
- With a `bit_set` having no underlying type and a non-zero lower bound,
`in` and `not_in` were returning incorrect results when done at
compile-time.
- With a `bit_set` of more than 128 bits, `in` always returns false on
values that fall within the upper 64 bits.
2026-01-23 16:19:46 -05:00
CJ
89f6f535db
Fix string16 bugs in Mac and Linux
2026-01-24 01:26:36 +09:00
Jeroen van Rijn
ce71227b6b
Fix #6130
2026-01-22 15:20:39 +01:00
gingerBill
5072d5c776
Add warning in code generation stage which might cause a possible code gen issue, when non-constant initialization is large
2026-01-22 13:54:53 +00:00
gingerBill
78ed2560d3
Merge branch 'master' of https://github.com/odin-lang/Odin
2026-01-22 13:18:25 +00:00
gingerBill
dc6067a8a9
Unify "mem*.inline" logic to only inline for <=8 bytes on all platforms
2026-01-22 13:18:22 +00:00
gingerBill
b0064f38cf
Minor rearrange of check_is_operand_compound_lit_constant for future optimization prep
2026-01-22 13:17:54 +00:00
gingerBill
4ace851f9a
Instead of using typeid hash, use the canonical name for internal procedure for debuggability
2026-01-22 13:17:26 +00:00
Karl Zylinski
ab0de6d33a
Added target freestanding_amd64_mingw for building freestanding on windows without MSVC installed (use for example clang-mingw)
2026-01-20 14:11:30 +01:00
gingerBill
16254ed8fa
Merge pull request #6119 from slowhei/master
...
Fix assertion error when imported proc groups are passed as proc arguments
2026-01-16 09:16:25 +00:00
gingerBill
557e854864
-disable-unwind
2026-01-15 18:12:39 +00:00
gingerBill
f4a7e0b279
Add @(no_sanitize_thread)
2026-01-15 18:06:25 +00:00
gingerBill
59ae82634e
Add preserve/most and preserve/all
2026-01-15 17:52:36 +00:00
gingerBill
5f07055ac1
Add #must_tail and "preserve/none" calling convention
2026-01-15 17:28:28 +00:00
gingerBill
0366cd3304
Add #must_tail (similar syntax to #force_inline
2026-01-15 16:32:52 +00:00
Franz Hoeltermann
ac35e0336b
Fix indentation
2026-01-14 10:42:43 +01:00
Franz
c64fad8ef7
Add warning for size_of(&x) expressions
2026-01-14 00:43:06 +01:00
Fabrice
622fa818bc
Adds static linking to non-windows platforms ( #6057 )
2026-01-13 20:56:40 +01:00
gingerBill
0f875727a2
Merge branch 'master' of https://github.com/odin-lang/Odin
2026-01-11 18:54:55 +00:00
gingerBill
5938c783a6
Fix #type not being handled as in normal expressions
2026-01-11 18:54:46 +00:00
gingerBill
3345ed0622
Merge pull request #6120 from ske2004/fix-regression-6118
...
Fix regression for #6118 in #6104
2026-01-10 18:48:15 +00:00
ske
3e31055ca7
Fix regression in #6118
2026-01-10 10:46:53 -03:00
Tohei Ichikawa
bf7c92bf09
Fix assertion error when imported proc groups are passed as proc arguments
2026-01-10 03:05:04 -05:00
gingerBill
e88776e00f
Merge pull request #6115 from bbogdan-ov/target-flag-usage-example
...
Show `-target` flag usage examples in the help
2026-01-09 13:04:56 +00:00
bogdanov
559b75cc81
Show -target flag usage examples in the help
2026-01-08 18:56:59 +03:00
ske
91c1950b9f
Fix constant conversion checks ( #6104 )
2026-01-07 02:19:41 -03:00