Commit Graph

607 Commits

Author SHA1 Message Date
FourteenBrush
12813e5d48 Fix 'odin [run|test] --' giving a compiler out of bounds 2024-08-14 21:37:40 +02:00
Jeroen van Rijn
7237f9c9f8 Help text default -o:none -> -o:minimal. 2024-07-19 20:47:26 +02:00
gingerBill
bd562116b8 Minor change to an internal flag 2024-07-15 15:08:26 +01:00
gingerBill
1e37eaf54d Begin work for bit_set[...; [N]T] (not working) 2024-07-15 14:49:20 +01:00
gingerBill
664a71454b -use-separate-modules default on Windows only 2024-07-15 02:53:01 +01:00
gingerBill
c64702ae5a Make -use-separate-modules the default behaviour for -o:none and -o:minimal 2024-07-15 00:43:46 +01:00
gingerBill
3311ea1c76 Keep MSVC happy with secure versions of C calls 2024-07-15 00:38:10 +01:00
gingerBill
e7d37607ef Fix parameter to none 2024-07-14 16:05:47 +01:00
gingerBill
6feace2351 Add pseudo flag -fast-build 2024-07-14 16:05:07 +01:00
Jeroen van Rijn
8dc4eca4d2 Allow using precompiled .res file. 2024-07-10 14:25:18 +02:00
gingerBill
14dc3598b4 Add gb_internal to procedures 2024-07-09 14:33:01 +01:00
gingerBill
886ee66e7f Cache files, env, and args 2024-07-09 14:16:56 +01:00
gingerBill
ccdad8b8dd Add odin clear-cache 2024-07-09 13:31:54 +01:00
gingerBill
87ac68fcf2 Add -internal-cached 2024-07-08 23:39:14 +01:00
gingerBill
48aef50164 Add #load cache files to -export-dependencies:json 2024-07-08 17:46:10 +01:00
gingerBill
564d5af8b2 Default to -o:none for all builds 2024-07-08 16:12:22 +01:00
gingerBill
2a219fa830 Correct -use-separate-module behaviour 2024-07-08 15:13:40 +01:00
gingerBill
8491e2491c Experiment with different uses of -use-separate-modules 2024-07-08 14:48:59 +01:00
gingerBill
86c58167ed Add -print-linker-flags 2024-07-08 10:40:04 +01:00
gingerBill
88c9512d5f Merge pull request #3828 from laytan/re-raise-signals-from-odin-run
re-raise signals from the `odin run` binary
2024-07-06 18:55:37 +01:00
Jeroen van Rijn
f6892d2236 Fix help text. 2024-07-03 19:30:25 +02:00
gingerBill
af3401631a Remove the -disallow-do aspect from -strict-style 2024-06-29 22:48:43 +01:00
gingerBill
b1a1da6618 Add -vet-tabs 2024-06-29 19:54:31 +01:00
gingerBill
90244a0849 Fix accidental deletion in the -strict-style help comment 2024-06-29 19:41:45 +01:00
gingerBill
f64d1df90b Add note regarding -strict-style 2024-06-29 19:27:26 +01:00
gingerBill
888bf28076 -strict-style implies -disallow-do 2024-06-29 19:26:11 +01:00
gingerBill
835e8bf87a Update -strict-style 2024-06-29 19:15:33 +01:00
gingerBill
d6b8544f50 Add internal flag for testing stuff 2024-06-29 12:04:31 +01:00
gingerBill
704530497b Rename -vet-identical-cast to -vet-cast; with minor code clean up 2024-06-29 11:44:45 +01:00
Feoramund
6496432b80 Add -vet-identical-cast 2024-06-28 23:14:03 -04:00
Laytan Laats
fa5be93da2 re-raise signals from the odin run binary 2024-06-28 19:33:34 +02:00
gingerBill
17efb87eef Add -custom-attribute 2024-06-28 11:44:39 +01:00
Jeroen van Rijn
9f696a646f Add -build-mode:test. 2024-06-21 16:02:55 +02:00
gingerBill
23351ca8be Merge pull request #3137 from laytan/show-defineable
Add flags to show/export defineable values and warn if a -define is unused in the project
2024-06-20 11:45:52 +01:00
Feoramund
c560553c21 Fix compiler silently returning if parse_packages fails 2024-06-13 13:01:51 -04:00
Laytan Laats
315695b4f8 collect and show docs of defineables 2024-06-07 15:08:41 +02:00
Laytan Laats
fa08690686 explicit integer conversions 2024-06-06 19:49:51 +02:00
Laytan Laats
b818a77131 check if -define is actually used 2024-06-06 19:46:01 +02:00
Laytan Laats
9a95049393 -show-defineables and -export-defineables 2024-06-06 19:44:54 +02:00
laytan
08382cb05d orca windows 2024-06-05 19:28:40 +02:00
Laytan Laats
8455e159f5 improve orca target 2024-06-05 20:57:39 +02:00
gingerBill
afcccfdec5 Merge pull request #3615 from puzzleddev/export-dependencies
Add build flag to export dependencies.
2024-06-04 15:40:54 +01:00
Jeroen van Rijn
c3b94b9e1d Merge pull request #3646 from Feoramund/multi-test
Refactor the test runner
2024-06-04 13:23:52 +02:00
Feoramund
f030603f0d Fix #3660
This also prevents a segfault if you do `odin build .odin -file`
2024-06-02 16:47:46 -04:00
Feoramund
cb8faf5b74 Remove -test-name in favor of test runner option
`-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`.
2024-06-02 14:54:32 -04:00
tim4242
0cba33075f Add the option to export dependencies as JSON. 2024-05-24 13:44:38 +02:00
tim4242
8664b88c8f Improved depdendency formatting to support paths containing spaces 2024-05-24 01:20:45 +02:00
tim4242
7934e92d14 Initial dependency file generation 2024-05-24 01:04:41 +02:00
gingerBill
e71cd871c4 Reimplement -build-mode:static/-build-mode:lib 2024-05-16 14:27:05 +01:00
Laytan Laats
bb58926b7a llvm 18: general unix and darwin specifics 2024-05-07 16:52:46 +02:00