aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update tilde filesgingerBill2024-06-111-0/+8
|
* 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
|
* Add `-obfuscate-source-code-locations`gingerBill2023-12-131-0/+12
|
* Silence writable string warnings when compiling Odin on Linux.Jeroen van Rijn2023-12-031-2/+2
|
* Fix oversights, apply minor improvementsTarık B2023-11-251-15/+16
|
* Apply consistent usage of third-person singularTarık B2023-11-251-43/+43
|
* Standardize to consistent 3-space indentation for inline commentsTarık B2023-11-251-24/+24
| | | | | Inline comments in a cohesive block of multiple lines are aligned with 3-space indentation to the length of the longest line.
* Remove redundant exampleTarık B2023-11-251-1/+0
|
* Fix newly introduced capitalization and punctuation errorTarık B2023-11-251-1/+1
|
* Increase indentation for -vet extra check listingTarık B2023-11-251-3/+3
|
* Unify showing of available optionsTarık B2023-11-251-15/+21
|
* Capitalize first word of sentencesTarık B2023-11-251-10/+10
|
* Add period at the end of sentences.Tarık B2023-11-251-104/+104
|
* Fix typoTarık B2023-11-251-1/+1
|
* Fix indentationTarık B2023-11-251-3/+3
|
* Add -microarch:? to help text.Jeroen van Rijn2023-11-111-0/+1
|
* Re-add `break`.Jeroen van Rijn2023-11-101-0/+1
|
* Facored out `get_default_microarchitecture`Jeroen van Rijn2023-11-101-6/+9
| | | | Moved `generic` -> `x86-64-v2` selection into its own procedure so that `llvm_backend.cpp` and `main.cpp` can share the same logic.