aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Correct header pathsmimallocgingerBill2024-01-296-14/+14
|
* Remove malloc.h importgingerBill2024-01-291-4/+0
|
* Move src files to parent directory; add LICENSE for mimallocgingerBill2024-01-2930-0/+21
|
* Change from <> to ""gingerBill2024-01-292-2/+2
|
* Add support for mimalloc on \*nix systemsgingerBill2024-01-291-2/+0
|
* Use `mimalloc` on Windows as a replacement for `HeapAlloc`gingerBill2024-01-2940-2/+16213
|
* Merge branch 'master' into base-workgingerBill2024-01-281-1/+5
|\
| * Fix semantics for casting between polymorphic specialized proceduresgingerBill2024-01-281-1/+5
| |
* | Improve foreign variable fuzzy type checkinggingerBill2024-01-282-3/+3
| |
* | Remove cyclic import hack for `package runtime`gingerBill2024-01-281-4/+4
| |
* | Freestanding - default to nil allocator; wasm - default to panic allocatorgingerBill2024-01-281-1/+10
| |
* | `-default-to-panic-allocator`gingerBill2024-01-284-16/+33
| |
* | Move matrix compiler `builtin`s to `intrinsics`; alias within ↵gingerBill2024-01-283-11/+13
| | | | | | | | core_builtin_matrix.odin
* | Move `core:runtime` to `base:runtime`; keep alias aroundgingerBill2024-01-284-7/+54
|/
* Add `#field_align(N)`gingerBill2024-01-284-24/+56
| | | | | It sets the minimum alignment for the fields within a struct. This cannot be used with `#packed`, but can be used with `#align(N)`. If `#align(N)` is less than `#field_align(N)`, then a warning will be printed.
* Remove dead codegingerBill2024-01-283-26/+16
|
* Fix #3122gingerBill2024-01-261-1/+3
|
* Fix `type_ptr_set_update`gingerBill2024-01-261-1/+3
|
* fix for wasm on llvm 17Laytan Laats2024-01-221-1/+1
|
* Clarify #location error message when not a call.Jeroen van Rijn2024-01-201-1/+1
|
* Expand -subsystem option on WindowsJeroen van Rijn2024-01-184-28/+83
| | | | | | | | W:\Odin>odin run sketch.odin -file -subsystem:foo Invalid -subsystem string, got oo. Expected one of: BOOT_APPLICATION, CONSOLE (default), EFI_APPLICATION, EFI_BOOT_SERVICE_DRIVER, EFI_ROM, EFI_RUNTIME_DRIVER, NATIVE, POSIX, WINDOWS (or WINDOW), WINDOWSCE We now also set the constant ODIN_WINDOWS_SUBSYSTEM, which is "" for non-Windows targets.
* Add WINDOWS_SUBSYSTEM constant boolJeroen van Rijn2024-01-182-10/+11
| | | | true when -subsystem:windows for Windows targets, false otherwise.
* Merge pull request #3093 from avanspector/mastergingerBill2024-01-171-1/+1
|\ | | | | Add shell environment for Nix
| * Fix gcc buildavanspector2024-01-131-1/+1
| | | | | | | | Although gcc is not officially supported, this little fix lets it to build Odin
* | Merge pull request #3043 from laytan/check-float-value-succeededgingerBill2024-01-171-4/+20
|\ \ | | | | | | check if string could be converted from float
| * | check if string could be converted from floatLaytan Laats2024-01-171-4/+20
| | |
* | | Merge branch 'master' into devcodename-irvin2024-01-161-1/+1
|\ \ \
| * \ \ Merge pull request #3084 from stan680/semaphore-fixgingerBill2024-01-161-1/+1
| |\ \ \ | | | | | | | | | | Fix loop condition in semaphore_wait
| | * | | fix loop condition on compare_exhange_strong result in semaphore_wait - it ↵Stan Irvin-Wilmot2024-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | was backwards so would loop on success and bail on fail
* | | | | Use default calling convention for arm target for now - not 100% sure this ↵codename-irvin2024-01-161-3/+2
| | | | | | | | | | | | | | | | | | | | is correct
* | | | | Add freestanding aarch64 targetcodename-irvin2024-01-152-2/+10
|/ / / /
* | | / darwin: add library paths for default Homebrew and MacPorts locationsLaytan Laats2024-01-131-0/+11
| |_|/ |/| |
* | | Fixed version matchingPlatin212024-01-101-59/+66
| | |
* | | Added macOS versions for a lot of revisionsPlatin212024-01-101-0/+47
|/ /
* | Update instrumentation signature to support `runtime.Source_Code_Location` ↵gingerBill2024-01-093-7/+20
| | | | | | | | as last parameter.
* | Implement instrumentation passgingerBill2024-01-077-11/+123
| |
* | Add frontend stuff instrumentation toolinggingerBill2024-01-076-12/+140
| | | | | | | | | | | | | | //+no-instrumentation @(no_instrumentation) @(instrumentation_enter) @(instrumentation_exit)
* | src: `enable_target_feature` should add features, not overwriteYawning Angel2024-01-072-2/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `llvm_features` being empty is the default state, and implies the presence of certain features. Previously if any target features were explicitly enabled by the `enable_target_feature` attribute, they were added comma separated to `llvm_features`. For example: `lzcnt,popcnt,...,sse4.2,sse` This was causing LLVM to try to target a CPU that *ONLY* has the explicitly enabled features. This now will prefix explicitly enabled features with a `+`, and preserve the existing `llvm_features` string by appending to it if it is set.
* | Fix the type inference in `builtin.quaternion`gingerBill2024-01-051-7/+14
| |
* | Fix `builtin.quaternion` generationgingerBill2024-01-052-73/+55
| |
* | Enforce naming the parameters with `builtin.quaternion` to reduce confusiongingerBill2024-01-052-28/+154
| |
* | Clean up error block usagegingerBill2024-01-057-43/+50
| |
* | Add `@(entry_point_only)` for proceduresgingerBill2024-01-055-0/+14
| |
* | darwin: actually honor no-crt by not linking with `-lSystem -lm`Laytan Laats2024-01-021-3/+6
| |
* | Fixed Typo / Added check for 1Platin212024-01-022-2/+2
| |
* | Adds missing spacePlatin212024-01-021-1/+1
| |
* | Fixed git issue..Platin212024-01-021-0/+2
| |
* | Adds new flag for linker to know if it should link the system library or notPlatin212024-01-023-1/+25
| |
* | Removes macOS min version and supports default latestPlatin212024-01-021-4/+0
| |
* | Merge pull request #3036 from laytan/error-when-c-vararg-is-not-on-last-paramgingerBill2024-01-021-17/+17
|\ \ | | | | | | error when #c_vararg is not applied to the last parameter