Richard Feldman
0f1e1d7659
Don't pass around an unnecessary Env
2022-05-04 21:36:47 -04:00
Brian Carroll
58dc7a9635
Make wasi_libc_sys a required dependency of roc_build to fix repl_test
2022-05-04 22:33:07 +01:00
Folkert
08fdd0781e
use NonZeroU32 for ModuleId
2022-05-04 23:11:14 +02:00
Folkert
9854f068d9
change the internal representation of Symbol to two u32's
2022-05-04 22:57:49 +02:00
Folkert
d57d9cc87a
use module_const over module_id
2022-05-04 22:42:31 +02:00
Ayaz Hafiz
4304c2c2f0
Correct output type of flapping test
...
The Roc program in this test returns a U8, but the tested type is marked
as a U16, so it's possible we were just picking up garbage bytes.
Closes #2997
2022-05-04 12:49:07 -04:00
Brian Carroll
fd9a92927b
Clean up a stray underscore
2022-05-03 19:13:32 +01:00
Brian Carroll
5fffea969a
Provide a way for non-wasm Rust code to find the WASI libc
2022-05-03 19:12:36 +01:00
Anton-4
cc28de408c
update wasmer to 2.2.1
2022-05-03 18:00:29 +02:00
Folkert de Vries
bb5c260d2e
Merge pull request #2989 from rtfeldman/rust-1-60-v2
...
Rust update to 1.60 v2
2022-05-03 17:35:17 +02:00
Richard Feldman
29f7eff9e2
Merge pull request #2991 from rtfeldman/bool-docs
...
Bool docs, doc generation fixes
2022-05-03 11:05:00 -04:00
Brian Carroll
0a3d3e8409
Merge pull request #2987 from rtfeldman/issue-2793/u8-signed-comparison
...
Issue 2793/u8 signed comparison
2022-05-03 08:01:40 -05:00
Brian Carroll
dd1d49db75
Build WASI libc using Zig, instead of using a checked-in binary
2022-05-03 08:00:58 +01:00
Brian Carroll
de7fbc3fb9
Merge pull request #2990 from rtfeldman/llvm-wasm-string-literal
...
keep strings on the stack on 32-bit targets
2022-05-03 01:56:52 -05:00
Richard Feldman
dd1e8cc193
[Shatner yell] CLIPPYYYYYYYYYYY!!!!!!!
2022-05-02 21:18:30 -04:00
Richard Feldman
b05259d870
Don't try to autolink to Num from Bool
...
This doesn't work because it would be a cyclic import
2022-05-02 19:44:42 -04:00
Richard Feldman
e6b05d463e
Make PRELUDE_TYPES a constant
2022-05-02 19:29:39 -04:00
Ayaz
5ec815a373
Merge pull request #2985 from rtfeldman/closure-called-in-defining-scope
...
Closure called in defining scope
2022-05-02 16:41:55 -04:00
Richard Feldman
85e5931ce3
s/bytes/bits where appropriate
2022-05-02 15:16:31 -04:00
Folkert
68ca014cfa
comments + proper naming
2022-05-02 20:45:53 +02:00
Folkert
71cb370089
keep strings on the stack on 32-bit targets
2022-05-02 20:15:28 +02:00
Anton-4
c745c08071
fmt+clippy
2022-05-02 18:33:41 +02:00
Richard Feldman
7e0265adc2
Add an explicit scope around a lock
2022-05-02 10:28:08 -04:00
Richard Feldman
59d1687d0e
Add VecSet::iter_mut
2022-05-02 10:16:43 -04:00
Richard Feldman
ca965c8eac
Fix some autolinks in Num docs
2022-05-02 10:16:43 -04:00
Richard Feldman
f0d52ea70d
Incorporate docs/Bool.roc into roc/Bool.roc
2022-05-02 10:16:42 -04:00
Jared Cone
bea87d4168
Files generated by test
2022-05-02 04:53:44 -07:00
Brian Carroll
c27a152059
Fix confusion between isize and usize in mono code_gen_help
2022-05-02 04:28:33 -07:00
Brian Carroll
07b3c74713
Refactor for faster Rust compile times
2022-05-02 04:28:33 -07:00
Jared Cone
c7459e9888
Added support for unsigned gt/lt to wasm.
...
Breaks some other tests, pushing now for sharing
2022-05-02 04:28:33 -07:00
Jared Cone
47f5b89b26
Fixed formatting
2022-05-02 04:28:32 -07:00
Jared Cone
3263633575
Changed list_take_last to compare list len to arg instead of different to zero.
...
`List.takeLast [1,2] 5` was doing unsigned `2 - 5` which wraps to a large number unsigned. This was fine before `NumGt` was fixed to use unsigned compare for unsigned numbers.
2022-05-02 04:28:32 -07:00
Jared Cone
c0780aad92
Implemented unsigned int comparisons.
2022-05-02 04:28:28 -07:00
Richard Feldman
4e220288a5
Delete builtin docs for Num
2022-05-01 20:58:01 -04:00
Richard Feldman
7fc0330a71
Move builtin docs from docs/ to roc/
2022-05-01 20:55:33 -04:00
Ayaz
2ab0bc1226
Merge pull request #2982 from rtfeldman/more-debug-flags
...
Add more debug flags
2022-05-01 14:30:33 -04:00
Sean Hagstrom
4707528caa
feature(formatter): allow single blank line around comments in lists, records, type annotations
2022-05-01 18:28:49 +01:00
Ayaz
84b3ef5fd7
Merge pull request #2978 from rtfeldman/scope-bitmask
...
Scope bitmask
2022-05-01 12:26:14 -04:00
ayazhafiz
37ba70472f
Add more debug flags
2022-05-01 12:25:03 -04:00
Folkert
5c9f8f5037
fix a bug where a closure is called immediately
2022-05-01 14:42:16 +02:00
Folkert
a35619ec80
add Symbol::contains helper for debugging
2022-05-01 14:29:52 +02:00
Folkert
10c2c5e8fd
make construct_closure_data more polymorphic
2022-05-01 14:29:02 +02:00
Ayaz
3197cd97ce
Merge pull request #2977 from rtfeldman/debug_flags
...
Factor bespoke debug variables into debug_flags crate
2022-04-30 18:16:06 -04:00
Ayaz
56935407b2
Merge pull request #2974 from rtfeldman/opt-opaque-metadata
...
Delay opaque instantiation, remove unnecessary Lowercase in Type
2022-04-30 18:10:45 -04:00
Folkert
be6006bbab
refactor
2022-04-30 21:22:47 +02:00
Folkert
d3f00c8c6d
use vec![]
2022-04-30 21:21:14 +02:00
Folkert
a5ec269a4d
clippy
2022-04-30 21:06:34 +02:00
Folkert
66d29e8611
fix typo
2022-04-30 21:00:48 +02:00
Folkert
76754e4d2a
use &str instead of Ident in some key places
2022-04-30 20:43:12 +02:00
Folkert
15f860e6d7
search imports first; they are likely to be small, andl likely to contain used types
2022-04-30 19:58:09 +02:00