Richard Feldman
9a89287365
Don't specify a default value for --precompiled-host
...
If we do, it's treated as always present even if it's
not passed in, which overrides the default of
"infer based on target."
2022-04-15 16:23:27 -04:00
Richard Feldman
d5c843a771
Don't use deprecated --roc-linker flag in tests
2022-04-15 12:13:05 -04:00
Richard Feldman
b60235f3af
Change TEST_SURGICAL_LINKER to TEST_LEGACY_LINKER
2022-04-15 12:12:50 -04:00
Richard Feldman
f56972742f
Default to not precompiled
2022-04-15 10:21:17 -04:00
Richard Feldman
0b979ebe1e
Revert "Try fixing the Killed: 9 problem on M1 Mac"
...
(this didn't fix it)
This reverts commit 089a3de22f
.
2022-04-15 09:42:44 -04:00
Richard Feldman
089a3de22f
Try fixing the Killed: 9 problem on M1 Mac
2022-04-15 09:42:31 -04:00
Richard Feldman
56f97a2edc
Fix some cli_run warnings
2022-04-15 09:24:57 -04:00
Richard Feldman
4065645d3c
Fix references to obsolete CLI flags
2022-04-15 08:46:12 -04:00
Richard Feldman
03c189c049
c-c-c-c-clippy! (turn and face the strange)
2022-04-14 21:52:00 -04:00
Richard Feldman
4f10ccc5d1
Rename Target::Host to Target::System
2022-04-14 20:44:23 -04:00
Richard Feldman
1f93973dbf
Allow --precompiled-host=false
2022-04-14 20:43:30 -04:00
Richard Feldman
6b213be997
Minor formatting
2022-04-14 20:35:42 -04:00
Richard Feldman
3daba1f6c0
Introduce --linker flag
2022-04-14 20:32:19 -04:00
Richard Feldman
2be9825b7b
Add --force-roc-linker and --legacy-linker
2022-04-14 20:19:27 -04:00
Richard Feldman
b796b2e92d
Merge pull request #2839 from rtfeldman/target-triple
...
changes to --target
2022-04-14 13:52:27 -04:00
Richard Feldman
dca2fedbd4
Give more information when surgical linking fails
2022-04-14 10:55:25 -04:00
Richard Feldman
e1a88f190c
Add a target triple for 32-bit musl linux
2022-04-13 01:21:12 -04:00
Richard Feldman
9f8be769fb
Specify environments on linux targets
2022-04-13 01:21:12 -04:00
Richard Feldman
746fb6ce88
Make --target flags be linux32 and linux64
2022-04-13 01:21:12 -04:00
Richard Feldman
76e98f7add
Add Into<Triple> for Target
2022-04-13 01:21:12 -04:00
Ayaz Hafiz
ce7c61eb09
Propogate render target forward
2022-04-12 16:18:07 -04:00
Richard Feldman
babe281b5d
Merge pull request #2780 from rtfeldman/no-link
...
Add --no-link flag for more complex linking cases
2022-04-08 23:49:48 -04:00
Ayaz Hafiz
a3ac68a41f
Split up Defs into TypeDef and ValueDef
...
Just a refactoring PR. This is useful because during canonicalization
we always process type defs first, then value defs. With abilities this
distinction continues to grow; in that case, we have patterns associated
with types that we want to process before patterns from values.
2022-04-06 22:18:57 -04:00
Ayaz Hafiz
eee19bba2b
s/demands/members
2022-04-06 11:34:55 -04:00
Folkert
c73c01aa34
Merge remote-tracking branch 'origin/trunk' into list-str-capacity
2022-03-30 14:07:17 +02:00
Brendan Hansknecht
76ffb4f278
Add --no-link flag for more complex linking cases
2022-03-29 18:20:29 -07:00
Folkert
fb893ebcb0
properly disable the cli example
2022-03-29 19:53:47 +02:00
Folkert
3c96b59265
comment offending cli_run tests; we will revisit after upgrading llvm/zig
2022-03-28 21:01:05 +02:00
SylvanSign
5f73c3e513
fix test runner surgical linker logic for GNU/Linux + ARM
2022-03-27 15:50:24 -04:00
Folkert
0f6e1ab2a2
Revert "disable Closure.roc example"
...
This reverts commit 8d85e469f7
.
2022-03-27 15:29:13 +02:00
Folkert
8d85e469f7
disable Closure.roc example
2022-03-26 21:46:49 +01:00
Folkert
d63009aa4d
add memcpy/memset to hosts that didn't have them
2022-03-26 12:22:48 +01:00
Folkert
311e464b70
add load_internal
2022-03-23 15:18:22 +01:00
Folkert
d8fa2b8d92
stop passing stdlib (use lazy_static)
2022-03-22 19:53:02 +01:00
Brian Carroll
9cb6261a4d
Merge pull request #2736 from rtfeldman/wasm-repl-palette
...
Web REPL error styling
2022-03-18 12:00:44 +00:00
Pierre-Henri Trivier
3e368a64ff
Formatter should ignore non roc files
...
Fixes #2683
2022-03-17 18:55:15 +01:00
Brian Carroll
9fc3c40379
Fix wrong import names
2022-03-17 13:22:40 +00:00
Folkert
4ef6cba23a
Merge branch 'split-types-values' into type-checking-storage-subs
2022-03-13 17:43:24 +01:00
ayazhafiz
d7abc3897b
Parse abilities
2022-03-12 21:29:06 -06:00
Folkert
c79ecec56e
make SubsByModule opaque
2022-03-11 20:16:55 +01:00
Jan Van Bruggen
0e186631eb
Rename hello examples from snake_case to camelCase for consistency
2022-03-07 21:10:19 -07:00
Jan Van Bruggen
589861a88a
Re-append newline after "Hello, World!" output
...
See https://github.com/rtfeldman/roc/pull/2470#discussion_r821295601
(@rtfeldman has "seen some terminals get really unhappy if a program
prints things and doesn't print a newline to stdout before exiting")
2022-03-07 21:06:53 -07:00
Jan Van Bruggen
85c4024eb9
Fix hello-world testing checks with a hacky workaround
2022-03-07 20:10:50 -07:00
Jan Van Bruggen
8a7f65910c
Move effects example into interactive/
2022-03-07 20:10:50 -07:00
Jan Van Bruggen
9d1dcc15c8
Consolidate interactive examples into one dir
2022-03-07 20:10:50 -07:00
Jan Van Bruggen
d94796de0e
Consolidate algorithm examples into one dir
2022-03-07 20:10:50 -07:00
Jan Van Bruggen
eadf39e47b
Add multi-platform Hello World example
2022-03-07 20:00:32 -07:00
Jan Van Bruggen
9f68194436
Remove trailing newlines from Hello World examples
2022-03-07 20:00:07 -07:00
Jan Van Bruggen
6ea8df5e16
Consolidate all Hello World examples into one dir
2022-03-07 20:00:05 -07:00
Jan Van Bruggen
99c825aa99
Simplify example platform names
2022-03-07 19:59:29 -07:00