aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove the `-disallow-do` aspect from `-strict-style`gingerBill2024-06-291-2/+0
|
* Add `-vet-tabs`gingerBill2024-06-291-0/+7
|
* Fix accidental deletion in the `-strict-style` help commentgingerBill2024-06-291-1/+1
|
* Add note regarding `-strict-style`gingerBill2024-06-291-0/+2
|
* `-strict-style` implies `-disallow-do`gingerBill2024-06-291-1/+3
|
* Update `-strict-style`gingerBill2024-06-291-0/+2
|
* Add internal flag for testing stuffgingerBill2024-06-291-0/+5
|
* Rename `-vet-identical-cast` to `-vet-cast`; with minor code clean upgingerBill2024-06-291-5/+5
|
* Add `-vet-identical-cast`Feoramund2024-06-281-0/+7
|
* Add `-custom-attribute`gingerBill2024-06-281-0/+34
|
* Add `-build-mode:test`.Jeroen van Rijn2024-06-211-0/+4
|
* Merge pull request #3137 from laytan/show-defineablegingerBill2024-06-201-0/+156
|\ | | | | Add flags to show/export defineable values and warn if a -define is unused in the project
| * collect and show docs of defineablesLaytan Laats2024-06-071-28/+34
| |
| * explicit integer conversionsLaytan Laats2024-06-061-9/+12
| |
| * check if -define is actually usedLaytan Laats2024-06-061-5/+28
| |
| * -show-defineables and -export-defineablesLaytan Laats2024-06-061-0/+124
| |
* | Fix compiler silently returning if `parse_packages` failsFeoramund2024-06-131-1/+2
|/
* orca windowslaytan2024-06-051-1/+5
|
* improve orca targetLaytan Laats2024-06-051-0/+28
|
* Merge pull request #3615 from puzzleddev/export-dependenciesgingerBill2024-06-041-1/+126
|\ | | | | Add build flag to export dependencies.
| * Add the option to export dependencies as JSON.tim42422024-05-241-51/+113
| |
| * Improved depdendency formatting to support paths containing spacestim42422024-05-241-1/+20
| |
| * Initial dependency file generationtim42422024-05-241-4/+48
| |
* | Merge pull request #3646 from Feoramund/multi-testJeroen van Rijn2024-06-041-24/+0
|\ \ | | | | | | Refactor the test runner
| * | Remove `-test-name` in favor of test runner optionFeoramund2024-06-021-24/+0
| |/ | | | | | | | | | | `-define:ODIN_TEST_NAMES=...` is capable of selecting test by package and name or name only, with the ability to access packages included by `-all-packages`.
* / Fix #3660Feoramund2024-06-021-0/+4
|/ | | | This also prevents a segfault if you do `odin build .odin -file`
* Reimplement `-build-mode:static`/`-build-mode:lib`gingerBill2024-05-161-0/+10
|
* llvm 18: general unix and darwin specificsLaytan Laats2024-05-071-5/+2
|
* compiler: improve target features supportLaytan Laats2024-05-021-6/+73
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2024-04-221-4/+4
|\
| * spellingThomas la Cour2024-04-201-4/+4
| |
* | Add check for `build.` and `run.` typosgingerBill2024-04-221-2/+11
|/
* Add `-no-type-assert` and `ODIN_NO_TYPE_ASSERT`gingerBill2024-04-181-0/+9
|
* add 'odin root' commandLaytan Laats2024-04-131-0/+4
|
* Add `-vet-unused-variables` and ``-vet-unused-imports` (`-vet-unused` is both)gingerBill2024-04-111-8/+23
|
* Default to "smart" linker behaviour; Add `-min-link-libs` to use minimize ↵gingerBill2024-04-041-0/+13
| | | | link libs if wanted
* Clarity warning and error printinggingerBill2024-04-021-0/+7
|
* darwin: be less annoying about "incompatible" library versionsLaytan Laats2024-03-251-1/+2
| | | | | | | | | | | | | After #3316 we set a default minimum version, now this will warn if you link with a library that is targeting later versions. This might be a bit annoying, especially when the user hasn't actually given Odin a minimum target. So this PR makes these warnings only show when you explicitly give a target version (afaik that is the only thing that -mmacosx-min-version actually does for us because we don't use it to compile anything, just to link).
* darwin: fix ld warnings and set minimum os versionLaytan Laats2024-03-231-1/+1
|
* Replace `gb_exit(1)` with `exit_with_errors()` where appropriategingerBill2024-03-191-1/+1
|
* Add `-json-errors`gingerBill2024-03-191-0/+10
|
* Serialize errors to make them sortable, deterministic, and generally more ↵gingerBill2024-03-191-1/+3
| | | | control
* Improve error handling for missing library collection provided by the compilergingerBill2024-02-071-7/+17
|
* Make run args take the first '--' as the start of the args, instead of the ↵flysand72024-02-041-4/+8
| | | | last '--'
* Merge pull request #3141 from laytan/add-all-packages-flag-for-testsgingerBill2024-01-311-1/+6
|\ | | | | Add `odin test -all-packages` to be able to test an entire project
| * Add `odin test -all-packages` to be able to test an entire projectLaytan Laats2024-01-261-1/+6
| |
* | `-default-to-panic-allocator`gingerBill2024-01-281-0/+14
| |
* | Move `core:runtime` to `base:runtime`; keep alias aroundgingerBill2024-01-281-0/+1
|/
* Expand -subsystem option on WindowsJeroen van Rijn2024-01-181-8/+35
| | | | | | | | 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.
* Clean up error block usagegingerBill2024-01-051-0/+2
|