Commit Graph

11560 Commits

Author SHA1 Message Date
Folkert
009d1c8163 variable did not need to be mut 2021-12-05 15:11:52 +01:00
Folkert
4af9539ce6 fixes by cargo clippy --fix 2021-12-05 15:04:28 +01:00
Folkert de Vries
4de5d36e94
Merge pull request #2139 from rtfeldman/cpu-target
set cpu-target for maximal compatibility
2021-12-05 14:41:20 +01:00
Folkert de Vries
03387ff41d
Merge pull request #2137 from rtfeldman/joshuawarner32/indent_state_in_fmt_buf
Keep indent state in new fmt::Buf struct
2021-12-05 14:40:44 +01:00
Anton-4
7d49d2a224
set cpu-target for maximal compatibility
Issues with virtual machines inside windows require us to use the most basic CPU instructions.
2021-12-05 11:40:19 +01:00
Joshua Warner
e3f2f8d9a4 keep indent state in fmt Buf 2021-12-04 18:26:32 -08:00
Richard Feldman
e872d00b13
Merge pull request #2128 from rtfeldman/joshuawarner32/check-format-stable
Check that formatting is stable/idempotent
2021-12-03 22:53:30 -05:00
Joshua Warner
4bbe1d308a rename expect_format_helper and add comment 2021-12-03 19:32:44 -08:00
Joshua Warner
5d3d4467c1 Fix indentation & stability in with formatting 2021-12-03 13:33:25 -08:00
Folkert de Vries
e9cbd11494
Merge pull request #2132 from rtfeldman/builtins-target
Set zig target cpu model for compatibility
2021-12-03 22:30:02 +01:00
Joshua Warner
8038758c99 Move comment in RBTreeChk.roc to _also_ not cause an internal compilation :face-palm: 2021-12-03 12:08:32 -08:00
Anton-4
e50fb25b38 forgot about Aarch64 2021-12-03 20:03:45 +01:00
Anton-4
4427779c7a set zig builtins target for compatibility 2021-12-03 19:57:19 +01:00
Joshua Warner
7e70b3ecf9 Move comment in RBTreeChk.roc to not run afoul of formatting-idempotency bug (pre-req to auto-formatting all examples) 2021-12-02 20:16:42 -08:00
Joshua Warner
270cc49867 Also check formatting is stable in tests; ignore a test that's invalid / incorrect 2021-12-02 17:46:50 -08:00
Joshua Warner
595ce5e81a Check that formatting is stable before writing the result to a file 2021-12-02 17:17:56 -08:00
Brendan Hansknecht
df5c7fb396
Merge pull request #2124 from rtfeldman/clean-unwrap
Remove unnecessary unwraps in CLIs by using subcommand()
2021-12-02 09:15:29 -08:00
Brendan Hansknecht
970e32fa6b
Merge pull request #2125 from rtfeldman/nightly-compatibility
Make nightly distibution compatible with most CPUs
2021-12-02 08:50:08 -08:00
Richard Feldman
06df40f995
Add Matthias Devlamynck to AUTHORS 2021-12-02 09:42:01 -05:00
Richard Feldman
38b0466b1c
Merge pull request #2127 from rtfeldman/fix-doc-typos
Fix small typos in docs
2021-12-02 09:41:04 -05:00
Matthias Devlamynck
600eaf32aa Fix small typos in docs 2021-12-02 12:33:17 +01:00
Anton-4
b070637921
Make nightly distibution compatible with most CPUs 2021-12-02 11:11:00 +01:00
Matthias Devlamynck
1be01a85e7 Remove unnecessary unwraps in CLIs by using subcommand() 2021-12-02 09:33:48 +01:00
Richard Feldman
4e91ce79de
Merge pull request #2121 from rtfeldman/optimize-alias-to-var
optimize alias to var conversion
2021-12-01 22:08:59 -05:00
Richard Feldman
064dc12145
fix typo in comment 2021-12-01 22:06:03 -05:00
Richard Feldman
23fda0819f
Merge pull request #2112 from rtfeldman/joshuawarner32/fix-defs-indenting
Fix fmt_spaces indenting in the context of 3 or more newlines
2021-12-01 21:58:58 -05:00
Richard Feldman
ed40a8fc1c
Merge pull request #2114 from rtfeldman/joshuawarner32/fix-det-indentation
Fix indentation within parens
2021-12-01 19:38:07 -05:00
Joshua Warner
85e7360359 Fix up assert_multiline_str_eq to work regardless of whether pretty_assertions::assert_eq is in scope 2021-12-01 16:14:34 -08:00
Joshua Warner
6edb376fdd Modify test to make the problem clear 2021-12-01 16:14:27 -08:00
Joshua Warner
c6116ba3ca Fix fmt_spaces indenting in the context of 3 or more newlines 2021-12-01 16:14:27 -08:00
Joshua Warner
8ab7b121eb Use newline in places where it should obviously be used 2021-12-01 16:14:27 -08:00
Brian Carroll
2464cb107c
Merge pull request #2117 from rtfeldman/wasm-lowlevel-cleanup
Refactor wasm lowlevels to make it easier to add more 128-bit ops
2021-12-01 22:57:49 +00:00
Folkert
27269faa0b optimize alias to var conversion 2021-12-01 18:39:45 +01:00
Richard Feldman
2da0c48c62
Merge pull request #2118 from rtfeldman/fix_macos_docs
Use brew --prefix for macOS PATH
2021-12-01 12:15:38 -05:00
rvcas
36ed30c984 chore: update macos docs for building from source 2021-12-01 11:10:34 -05:00
Brian Carroll
72fa6217fb Refactor wasm lowlevels to make it easier to add more 128-bit ops 2021-12-01 15:09:23 +00:00
Richard Feldman
e6bec46898
Merge pull request #2109 from rtfeldman/refactor-passed-function
refactor passed (to higher order lowlevel) funcion
2021-12-01 08:17:39 -05:00
Brian Carroll
a3827d6636
Merge pull request #2071 from rtfeldman/refcount-mono-ir
Start generating refcounting code as mono IR
2021-12-01 12:59:16 +00:00
Folkert de Vries
d37ddeb162
Merge pull request #2113 from rtfeldman/joshuawarner32/fix-indentation-within-parens
Fix formatting of if as an left-hand-side of an operator
2021-12-01 13:38:22 +01:00
Folkert de Vries
1c7671c9ab
Merge pull request #2111 from rtfeldman/joshuawarner32/multiline-string-asserts
Make assert output for fmt+parse tests more understandable
2021-12-01 13:35:20 +01:00
Folkert
834ba77046 missed a bool 2021-12-01 12:53:47 +01:00
Richard Feldman
68e2701948
Merge pull request #2106 from rtfeldman/arraystring
replaced ArrayString with arrayvec
2021-11-30 22:44:45 -05:00
Joshua Warner
c0abf86f01 Fix indentation within parens 2021-11-30 17:55:50 -08:00
Joshua Warner
3228a23c98 Fix formatting of if as an left-hand-side of an operator 2021-11-30 17:53:26 -08:00
Joshua Warner
fdeafe4bab Make assert output more understandable 2021-11-30 17:48:24 -08:00
Brian Carroll
6b30ab79ac Fix release build of Wasm backend 2021-12-01 00:03:01 +00:00
Folkert
bec74c36c5 refactor passed (to higher order lowlevel) funcion 2021-11-30 21:50:27 +01:00
Richard Feldman
68e206f42c
Merge pull request #2108 from rtfeldman/implement_num_to_str
Implement Num.toStr
2021-11-30 15:34:39 -05:00
rvcas
40090f20e6 test: update tests to use Num.toStr 2021-11-30 14:56:08 -05:00
rvcas
00bd77bf1d chore: update builtin docs 2021-11-30 14:55:41 -05:00