Richard Feldman
d949a918e4
Use false interpreter in type mismatch test
2022-11-26 19:04:35 -05:00
Richard Feldman
2eb9531817
Fix regression on printing "Rebuilding platform…"
2022-11-25 16:41:54 -05:00
Richard Feldman
39792bf144
Drop extraneous cwd.join
...
This actually caused a bug! To reproduce:
cargo run -- build --prebuilt-platform=false examples/cli/file.roc
2022-11-25 04:47:36 -05:00
Richard Feldman
99f55d6ed6
Merge remote-tracking branch 'origin/main' into https-packages
2022-11-24 19:14:31 -05:00
Richard Feldman
1a1bc3a7cf
Merge branch 'fix-test' into simplify-cli-platform
2022-11-24 15:39:31 -05:00
Richard Feldman
b9b03d432a
Merge remote-tracking branch 'origin/main' into https-packages
2022-11-24 13:14:36 -05:00
Richard Feldman
ac2d50aea9
Merge pull request #4542 from roc-lang/precompiled-legacy
...
Precompiled legacy linking
2022-11-24 13:13:48 -05:00
Richard Feldman
69a7c3ea15
Centralize host tempfile builder logic
2022-11-24 10:05:27 -05:00
Richard Feldman
4b64f8c9e9
Make sure tempfiles don't get dropped too early
2022-11-24 10:05:27 -05:00
Richard Feldman
30d72d0bc7
Give tempfiles the file extensions Zig expects
2022-11-24 10:05:27 -05:00
Richard Feldman
1679c62a0a
Use include_bytes! so builtin hosts live in binary
2022-11-24 10:05:26 -05:00
Ayaz Hafiz
9dbc2224fb
Fix imports
2022-11-24 10:05:25 -05:00
Richard Feldman
d00f421946
Fix test
2022-11-24 04:38:55 -05:00
Richard Feldman
f5cb2d73a1
Merge branch 'precompiled-legacy' into https-packages
2022-11-24 04:29:56 -05:00
Richard Feldman
c86e3f4677
Revert "Drop unused parameter"
...
This reverts commit d925e43465
.
2022-11-24 04:20:17 -05:00
Richard Feldman
3ec21109d7
Fix race condition in copying preprocessedhost
2022-11-24 03:29:51 -05:00
Richard Feldman
8bbc3ad925
Drop Program and third type param from Task
2022-11-24 03:21:14 -05:00
Richard Feldman
28bccb792f
Merge remote-tracking branch 'origin/main' into precompiled-legacy
2022-11-24 02:20:50 -05:00
Richard Feldman
d925e43465
Drop unused parameter
2022-11-24 02:15:40 -05:00
Richard Feldman
e8f5c13cf9
Consider linking type in preprocessed_host_path
2022-11-24 02:14:46 -05:00
Richard Feldman
9627946144
Drop redundant file copy
2022-11-24 02:10:09 -05:00
Folkert
e44a8a9eed
print all the relevant info
2022-11-23 22:58:58 +01:00
Folkert
e7f3c6f281
inline dbg
2022-11-23 21:23:28 +01:00
Folkert de Vries
099ab4938f
Merge pull request #4565 from roc-lang/more-standalone
...
Use include_bytes! so builtin hosts live in binary
2022-11-23 13:01:39 +01:00
Richard Feldman
e1959d0a84
Fix wasm host_input_path generation
2022-11-23 00:38:54 -05:00
Richard Feldman
c0b065b51a
Fix a couple of preprocessed host bugs
2022-11-22 23:38:07 -05:00
Richard Feldman
a8b6fa051a
Centralize host tempfile builder logic
2022-11-22 20:52:44 -05:00
Richard Feldman
0b73ea69af
Make sure tempfiles don't get dropped too early
2022-11-22 20:22:08 -05:00
Richard Feldman
9c1291d57d
Give tempfiles the file extensions Zig expects
2022-11-22 19:19:54 -05:00
Richard Feldman
e97a5fe7f6
Use include_bytes! so builtin hosts live in binary
2022-11-22 17:57:32 -05:00
Ayaz Hafiz
91ceebc065
Fix imports
2022-11-22 11:00:14 -06:00
Richard Feldman
52b71cd85f
Using a HTTPS URL platform implies it's prebuilt
2022-11-22 10:45:22 -05:00
Richard Feldman
d0a1fa3d57
Bundle tarballs with compression after all
2022-11-21 03:57:05 -05:00
Richard Feldman
a38380ec76
Remove references to obsolete .rp1 format
2022-11-21 02:58:18 -05:00
Richard Feldman
7d2fa63dca
Make roc_cache_dir() panic if it can't find $HOME
2022-11-20 20:54:03 -05:00
Richard Feldman
721841fa1f
Provide roc_cache_dir everywhere
2022-11-20 19:53:48 -05:00
Richard Feldman
04492ce485
.rp1 -> .tar; let the server handle compression!
2022-11-19 23:46:29 -05:00
Richard Feldman
1661c0c87f
Only check for --bundle flag in roc build
2022-11-19 23:46:28 -05:00
Richard Feldman
2fd59981e5
Tweak wording on --bundle
2022-11-19 23:46:28 -05:00
Richard Feldman
777e05cdc8
Report how long it took to make the bundle
2022-11-19 23:46:28 -05:00
Richard Feldman
4f34eac1e6
Add roc build --bundle
to CLI
2022-11-19 23:46:28 -05:00
Richard Feldman
0e416adc3a
Give a nice error if precompiled host is missing
2022-11-19 23:46:27 -05:00
Richard Feldman
00128e3a18
Don't spawn platform-rebuilding thread if prebuilt
2022-11-19 23:46:27 -05:00
Richard Feldman
571844fc27
Change preprocessedhost filename
2022-11-19 23:46:27 -05:00
Ayaz
1a3119e4c5
Merge pull request #4525 from roc-lang/fix-fixpoints-2
...
Implement fixpoint-fixing and unconditionally emplace variables into type indices
2022-11-19 17:47:02 -06:00
Folkert de Vries
3e0176a717
Merge pull request #4541 from roc-lang/fix-echo
...
Fix warnings on examples/cli/echo.roc
2022-11-19 14:46:14 +01:00
Richard Feldman
674d449bc1
Give a nice error if precompiled host is missing
2022-11-19 00:20:04 -05:00
Richard Feldman
61153ed33b
Don't spawn platform-rebuilding thread if prebuilt
2022-11-19 00:10:37 -05:00
Richard Feldman
062ecce84c
Change preprocessedhost filename
2022-11-18 23:54:21 -05:00
Joshua Warner
2d9aba2242
Refactor parser methods to not return State as part of ParseError
...
As previously discovered with #4464 , it's easy to accidentally mis-use the State value returned on the Err path.
There were mixed assumptions about what that State represents: (1) the State where the error occurred, or (2) the State at the beginning of the thing we were just parsing.
I fixed this up to always mean (2) - at which point we don't actually need to return the State at all - so it's impossible for further discrepency to creep in.
I also took the liberty to refactor a few more methods to be purely combinator-based, rather than calling `parse` directly.
2022-11-18 19:52:23 -05:00