gingerBill
ae2f16edea
Fix #3894
2024-07-09 15:29:36 +01:00
gingerBill
9782d7b928
Merge pull request #3896 from odin-lang/cached-builds
...
Internal Cached Builds
2024-07-09 15:27:45 +01:00
gingerBill
5627af582a
Add RPROMPT to blacklist
2024-07-09 15:18:15 +01:00
gingerBill
d701642293
Check for PROMPT
2024-07-09 15:15:23 +01:00
gingerBill
4c1754b1dc
environ is only for Linux
2024-07-09 14:56:12 +01:00
gingerBill
666703f430
Mock out \*nix stuff for cached.cpp
2024-07-09 14:47:22 +01:00
gingerBill
14dc3598b4
Add gb_internal to procedures
2024-07-09 14:33:01 +01:00
gingerBill
330d0e7a2a
Add debugf calls
2024-07-09 14:30:38 +01:00
gingerBill
952fb998e6
Check for CURR_DATE_TIME
2024-07-09 14:20:55 +01:00
gingerBill
886ee66e7f
Cache files, env, and args
2024-07-09 14:16:56 +01:00
gingerBill
68b70a2183
Check for bounds check error
2024-07-09 13:35:52 +01:00
gingerBill
ccdad8b8dd
Add odin clear-cache
2024-07-09 13:31:54 +01:00
gingerBill
45bf180847
Add subtarget to cached executable
2024-07-08 23:55:01 +01:00
gingerBill
87ac68fcf2
Add -internal-cached
2024-07-08 23:39:14 +01:00
gingerBill
a3af94eeae
Merge pull request #3893 from laytan/temporary-directory-non-windows
...
implement `temporary_directory` on non-windows
2024-07-08 18:25:34 +01:00
Laytan Laats
9ff77397c6
implement temporary_directory on non-windows
2024-07-08 18:58:17 +02: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
2c9ef6907a
Clean up timings messages showing used module count
2024-07-08 15:30:33 +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
7dd4cccce7
Use a temporary directory for -use-separate-modules
...
Windows only currently
2024-07-08 14:21:07 +01:00
gingerBill
0f664893dd
Add sort for global types and procedures
2024-07-08 13:59:25 +01:00
gingerBill
930a147f24
Update to LLVM 18.1.8
2024-07-08 13:08:18 +01:00
gingerBill
86c58167ed
Add -print-linker-flags
2024-07-08 10:40:04 +01:00
Feoramund
77d64a5461
Forbid $T= parameter from crashing compiler
...
Fixes #3883
2024-07-06 15:32:17 -04: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
c8432df248
Merge pull request #3874 from laytan/fix-not-detecting-duplicate-proc-case
...
Fix not detecting duplicate proc cases
2024-07-05 01:00:14 +02:00
Laytan Laats
f66b7021a6
Fix not detecting duplicate proc cases
...
Fixes #3864
2024-07-05 00:50:52 +02:00
Laytan Laats
1bd9fe04c4
Fix assertion false positive
...
Assertion was added in #3855 - 7233149096
to mimic LLVM's own internal assertion for this, turns out their
assertion is more sophisticated than an `==` so lets just remove it.
To be clear their internal assertion is not hit while this one is, which
defeats the purpose of ours.
2024-07-04 23:55:21 +02:00
gingerBill
1eb0bc1408
Remove *_test.odin; always compile it for all targets
2024-07-04 14:43:57 +01:00
gingerBill
8b7c6a23ba
Restrict a bit more
2024-07-04 14:06:02 +01:00
gingerBill
bf711b282d
Remove when check in check_entity_from_ident_or_selector
2024-07-04 13:58:36 +01:00
gingerBill
87bccc8f3f
Remove import name cases
2024-07-04 13:53:52 +01:00
gingerBill
657bc88535
Allow x :: y when cond else proc(...){...}
2024-07-04 13:48:52 +01:00
gingerBill
d78ff0be52
Fix lb_store_type_case_implicit
2024-07-04 13:20:36 +01:00
gingerBill
52c219690a
Ff @(disabled=true), do not add that entity's dependencies to the set
2024-07-04 13:09:31 +01:00
Karl Zylinski
782286357b
error on type_of(value of untyped type)
2024-07-03 22:21:32 +02:00
Jeroen van Rijn
f6892d2236
Fix help text.
2024-07-03 19:30:25 +02:00
gingerBill
075384b2bb
Fix #soa assignment bug
2024-07-03 00:33:13 +01:00
gingerBill
7e6acdf800
Merge pull request #3855 from laytan/master
...
Fix two LLVM assertion failures
2024-07-02 22:16:49 +01:00
gingerBill
8b49549fd3
Merge pull request #3859 from laytan/wasm-stbtt-object-linking-preopens
...
wasm: support `vendor:stb/truetype` and `vendor:fontstash`
2024-07-02 22:14:54 +01:00
Laytan Laats
6f1cc8071c
wasm: add foreign import and linking of wasm object files
2024-07-02 15:28:08 +02:00
Laytan Laats
7233149096
fix llvm assertion failure when const initializer is not the same type
2024-07-02 01:25:52 +02:00
Laytan Laats
c822f0b8c8
fix llvm assertion about metadata on non-instruction
2024-07-02 01:14:50 +02:00
Jeroen van Rijn
f7243eac74
Force cl.exe to parse Odin source as utf-8.
2024-07-01 20:48:00 +02:00
Jeroen van Rijn
c2ab2bf25a
Add UTF-8 BOM for ucg.c, because reasons.
2024-07-01 20:23:48 +02:00
gingerBill
a2b23de0a7
Sanity check for a nullptr
2024-07-01 12:24:46 +01:00
gingerBill
42ff711114
Fix #3515
2024-07-01 12:22:18 +01:00
gingerBill
544959326b
Add intrinsics.type_struct_has_implicit_padding #3844
2024-07-01 12:13:35 +01:00