Richard Feldman
7e3a10906c
Merge pull request #3888 from roc-lang/windows-cross-compilation
...
windows cross compilation
2022-08-27 07:59:05 -04:00
Brian Carroll
4a4c7b7a11
Fix Rust warnings in roc_cli on Windows
2022-08-26 08:44:30 +01:00
Folkert
1f778db26c
define roc_alloc and friends in cli/src/lib.rs on windows
2022-08-26 08:44:30 +01:00
Folkert
f2b2adb550
attempt to disable roc_repl_expect on windows
2022-08-26 08:44:26 +01:00
Brian Carroll
6038a5da0d
cli: use memexec crate to execute raw bytes on Windows without spawning a process
2022-08-24 21:36:49 +01:00
Folkert
430c783859
add windows target to the cli
2022-08-24 15:51:54 +02:00
Folkert
a22e04361c
Merge remote-tracking branch 'origin/main' into expect-fx-codegen
2022-08-23 16:28:21 +02:00
Richard Feldman
a8964f87aa
Add roc dev
command to CLI
2022-08-21 18:07:59 -04:00
Ayaz Hafiz
7c6d811769
Report errors without mono when roc foo.roc
has errors
2022-08-19 22:19:04 -05:00
Ayaz Hafiz
b809d6d452
Dynamically load find/make specializations graph if there are no type errors
2022-08-19 22:19:04 -05:00
Folkert
f8fba56b0a
improve how we deal with the expect memory buffer
2022-08-13 00:01:05 +02:00
Folkert
3aa4ebb02f
get expect-fx to actually run
2022-08-12 23:03:01 +02:00
Anton-4
72e60bceea
valgrind fix for newer intel processors
2022-08-12 12:06:31 +02:00
Brian Hicks
91e8e45523
use fallible (instead of panicking) arg getter
2022-08-10 06:09:49 -05:00
Brian Carroll
91489ce6bd
cli: create an option for wasm dev backend stack size
2022-08-08 22:28:58 +01:00
Richard Feldman
3136c5fb63
Allow testing interface modules
2022-08-03 19:49:48 -04:00
Folkert de Vries
19159d170a
Merge remote-tracking branch 'origin/trunk' into windows-linking
2022-08-02 14:11:02 +02:00
Folkert de Vries
8fe3c2b3e4
file running on windows
2022-08-01 23:54:08 +02:00
Richard Feldman
505e7dee56
Don't use fs::canonicalize
2022-08-01 15:11:55 -04:00
Folkert de Vries
e12847f9d8
conditional compilation fixes for windows
2022-08-01 19:10:42 +02:00
Folkert
dbbbc32583
changes after review
2022-07-28 16:25:14 +02:00
Folkert
e67e968ba1
use stack/heap memory instead of mmap for roc test
2022-07-27 17:28:44 +02:00
Folkert
e19b272a9e
test expect reporting
2022-07-27 13:51:12 +02:00
Folkert
91ea71c7aa
give mmap creation permissions
2022-07-27 12:15:27 +02:00
Folkert
40d7e94a17
make the mmapped buffer configurable
2022-07-26 23:36:25 +02:00
Folkert
64c2d8d87e
move expect running logic into repl_expect
2022-07-26 21:15:16 +02:00
Folkert
1017bbc5ec
use std::io::Write for making expect messages
2022-07-26 20:12:09 +02:00
Folkert
7014fbb5ec
move expect panic formatting to reporting crate
2022-07-26 18:33:43 +02:00
Folkert
1a1c988e45
remove clone
2022-07-26 00:08:48 +02:00
Folkert
a5320c2cf9
use code from reporting to report expect failures
2022-07-25 23:50:07 +02:00
Folkert
6d0e751999
fix bug in expect handling on the cli side
2022-07-25 22:37:36 +02:00
Folkert de Vries
834378503f
Merge pull request #3625 from rtfeldman/multiple-expects
...
Multiple expects
2022-07-25 00:04:37 +02:00
Richard Feldman
e707084541
Add roc glue
subcommand
2022-07-24 10:04:28 -04:00
Richard Feldman
c5f04aaf73
s/root module/main module/g
2022-07-24 09:39:10 -04:00
Folkert
93005cf2d0
report multiple expect failures
2022-07-24 11:25:02 +02:00
Folkert de Vries
a432874290
Merge pull request #3592 from rtfeldman/main-dot-roc
...
Advise using `roc run` with no arg if running `main.roc`
2022-07-21 18:36:39 +02:00
Folkert
2e07c3f617
show preceding comment in failed test messages
2022-07-21 10:42:58 -04:00
Richard Feldman
35733d51dc
Tweak expectation panic message wording
2022-07-21 10:42:57 -04:00
Folkert
9d294b459e
thread top-level expect region through
2022-07-21 10:42:57 -04:00
Folkert
7e5476aa58
report panicking tests (not pretty yet)
2022-07-21 10:42:57 -04:00
Richard Feldman
8f7e33f526
Advise running roc run
if given "main.roc"
2022-07-20 17:01:32 -04:00
Richard Feldman
ca4baf7131
Default roc test
to main.roc
2022-07-18 20:37:49 -04:00
Richard Feldman
ae293baef7
Revise wording of roc test
output
2022-07-18 11:58:26 -04:00
Richard Feldman
6389dba5b8
Merge pull request #3410 from rtfeldman/merge-macho-progress
...
port all macho linker work to trunk and make it mergable
2022-07-16 16:04:42 -04:00
Folkert
c484df99ff
fix merge conflict
2022-07-15 13:23:10 +02:00
Folkert
b9ebd4fa27
Merge remote-tracking branch 'origin/trunk' into pretty-expect-output
2022-07-15 09:12:04 +02:00
Folkert
42941cae27
fix rust dropping a CString somehow
2022-07-13 23:08:26 +02:00
Folkert
b229c70eec
add cli test configuration
2022-07-13 19:16:36 +02:00
Folkert
a56ff4f3e3
add the roc test
test running logic
2022-07-13 18:50:46 +02:00
Richard Feldman
bf63c45b46
Compute src_dir from original filename
...
This fixed a bug where bindgen was providing cwd() for src_dir,
but actually the src_dir should have been based on the filename.
This prevents that problem from happening in the future!
2022-07-13 12:49:06 -04:00