Commit graph

120 commits

Author SHA1 Message Date
Brian Carroll
0464da84c0 Rename CLI --backend to --target since that's what it has always meant 2022-03-05 14:22:59 +00:00
Brendan Hansknecht
69b4e78ac7 Add --opt-size and compiling smaller binaries 2022-02-24 15:39:50 -08:00
Ryan Olson
60b5465de2 Add --check flag for format command
Closes #2495
2022-02-16 12:44:30 -07:00
Brian Carroll
f098c6cb99 repl: initial working version with new crate structure 2022-01-30 09:12:29 +00:00
Joshua Warner
3f8c6be9e9 Implement 'roc format <dir_or_files>' command 2021-11-22 18:00:25 -08:00
Anton-4
6e23919811 put mcpu in comments 2021-11-15 13:43:19 +01:00
Anton-4
030a504bd2 valgrind flag 2021-11-13 14:39:15 +01:00
Anton-4
f5dc3ac3aa fmt 2021-11-10 10:07:13 +01:00
Anton-4
46a09d81e8 cli improvements, added examples to nightly package 2021-11-09 17:25:18 +01:00
Brendan Hansknecht
0b3c95ca97 Make wasmer optional for cli 2021-11-06 10:34:22 -07:00
Brendan Hansknecht
df76f5f49c Update deprecated clap function 2021-11-05 19:47:09 -07:00
Brendan Hansknecht
d49ac68bcc Update dep with major version changes 2021-11-05 19:19:37 -07:00
Brendan Hansknecht
d78b351798 cleanup targets and llvm config to properly progate and build with any subset of features 2021-11-04 21:48:04 -07:00
Anton-4
42bb59ae0d
add WIP to cli help for docs 2021-11-03 09:27:00 +01:00
Matthias Beyer
26ceda4aa4 Fix: Replace deprecated Arg::help() call with Arg::about()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-10-27 18:14:27 +02:00
Anton-4
4740761349 fmt 2021-10-23 19:57:08 +02:00
Anton-4
ae136f1a0e print nightly version with commit after release 2021-10-23 19:53:39 +02:00
Anton-4
ab665b7380 Merge branch 'trunk' of github.com:rtfeldman/roc into docs_markup 2021-10-05 11:58:45 +02:00
Anton-4
f63c276a5f docs flow working with mocked markup to html 2021-10-01 18:22:27 +02:00
Folkert de Vries
e1bdb953bb
Merge branch 'trunk' into integrate-linker 2021-09-20 22:51:24 +02:00
Folkert
c436228d02 add roc check subcommand 2021-09-19 16:43:55 +02:00
Brendan Hansknecht
4a6e620705 Add --precompiled-host flag to enable skipping rebuild 2021-09-18 16:11:51 -07:00
Brendan Hansknecht
8a30b4803a Merge branch 'trunk' into integrate-linker 2021-09-16 16:27:50 -07:00
Folkert
15fd312b6f hook up wasm and assembly dev backends 2021-09-15 20:53:00 +02:00
Folkert
b74857f268 add dev flag 2021-09-15 18:28:25 +02:00
Folkert
418a403f0c clean up Backend 2021-09-15 17:50:22 +02:00
Brendan Hansknecht
0ef9498a69 Rebuild hosts in a separate thread and only optimize when specified 2021-09-14 14:46:03 -07:00
Brendan Hansknecht
6e4a4f5a03 Add explicit flag to emit timing information separate from debug info 2021-09-12 12:10:48 -07:00
Folkert
1d1d71be1d Exit(0) is success when running wasm executables 2021-09-10 09:50:13 +02:00
Folkert
a7eeae05ca support i386 (no linking yet) 2021-09-04 01:31:33 +02:00
Folkert
98c672bbde pipe target information through 2021-09-01 21:50:59 +02:00
Folkert
c7930cbbd5 drop wasmtime dependency 2021-08-30 21:43:58 +02:00
Folkert
63f89d73be attempt benchmark platform 2021-08-24 23:57:39 +02:00
Folkert
459af15c8f WIP 2021-08-23 21:14:09 +02:00
Richard Feldman
bc952641eb Update docs to remove references to roc run 2021-08-05 23:15:00 -04:00
Richard Feldman
8d99a0d71d Instead of roc run [FILE] just do roc [FILE]
This is relevant because it lets us run scripts using:

!#/usr/bin/env roc

...instead of:

!#/usr/bin/env roc run

...which is not supported in all `env` implementations!
2021-08-05 23:04:39 -04:00
Richard Feldman
1a9ca334f6 Update some CLI docs 2021-08-05 22:59:05 -04:00
Richard Feldman
6c846299c8 Print a newline after the --version
Otherwise various shells are unhappy
2021-08-05 22:24:15 -04:00
Richard Feldman
36cfede93c Fix error message for file not found 2021-07-26 22:38:55 -04:00
Chadtech
5442eba044 Check if there was no list of Roc modules to generate docs for, and if not, then search for all roc modules under the current directory 2021-07-11 02:09:23 -04:00
rvcas
a82b403aa4 feat(cli): impl BuildOutcome::status_code 2021-07-03 14:41:58 -04:00
rvcas
3fa5b4363e feat(cli): do not run executable if build failed 2021-07-03 14:23:21 -04:00
Richard Feldman
3ddbe4f06a Use exec in roc run 2021-06-20 23:19:34 -04:00
Anton-4
2680e475d1
Feature name correction 2021-06-12 15:17:37 +02:00
Richard Feldman
9fcd339af9 Set link type based on --lib flag 2021-06-08 21:58:21 -04:00
Richard Feldman
cdc32aadd2 Add some derives to BuildConfig 2021-06-08 21:58:21 -04:00
Richard Feldman
6e906bd450 Add --lib flag for roc build 2021-06-08 21:58:21 -04:00
Richard Feldman
9cb1026933 Don't show edit CLI command when not building editor 2021-06-07 21:26:42 -04:00
Richard Feldman
b05342c678 Split out an optional "llvm" feature
Also move OptLevel out of roc_gen (which
should really be called gen_llvm) and into roc_mono,
so it's no longer coupled to LLVM.
2021-06-06 00:32:58 -04:00
Richard Feldman
65296b9446 Intentionally leak arena for batch builds 2021-04-28 21:47:51 -04:00