Commit graph

4668 commits

Author SHA1 Message Date
Ayaz Hafiz
be9944a7e1
Improve indent of has-abilities clauses 2022-07-15 11:59:03 -04:00
Ayaz Hafiz
dc3f8db6b8
Stray dbg 2022-07-15 11:46:32 -04:00
Ayaz Hafiz
3c65fbcf35
Format has clauses with impls 2022-07-15 11:45:53 -04:00
Richard Feldman
8e29248b82
Thanks for noticing the duplicate clone, clippy! 2022-07-15 11:27:33 -04:00
Richard Feldman
8eeff6c28d
Don't bindgen duplicate types 2022-07-15 11:26:37 -04:00
Richard Feldman
d1ba890610
Get Result layouts from vars 2022-07-15 11:24:59 -04:00
Richard Feldman
f0b50b4dc7
bindgen RocType::EmptyTagUnion 2022-07-15 11:24:59 -04:00
Richard Feldman
d82af057c6
Bindgen Bool 2022-07-15 11:24:59 -04:00
Richard Feldman
eadcd2f7c0
Bindgen empty tag union 2022-07-15 11:24:59 -04:00
Richard Feldman
d9694a2bbd
bindgen RocResult 2022-07-15 11:24:59 -04:00
Richard Feldman
f2aa62a6ea
bindgen empty record (aka unit) 2022-07-15 11:24:58 -04:00
Ayaz Hafiz
85cbab0193
Add fmt test for empty has abilities block 2022-07-15 11:17:21 -04:00
Ayaz Hafiz
4d54e2ee3c
Add test for empty impl block parse 2022-07-15 11:15:44 -04:00
Ayaz Hafiz
ecaccdaac3
Update parse tests 2022-07-15 11:15:01 -04:00
Ayaz Hafiz
3ada644544
Format impls blocks 2022-07-15 11:14:49 -04:00
Ayaz Hafiz
85599e3a9a
Parse impl blocks in abilities 2022-07-15 11:06:44 -04:00
Ayaz Hafiz
eb2012dcad
Typos 2022-07-15 10:39:10 -04:00
Ayaz Hafiz
a5a80d2d17
Test immediate encoding derivers 2022-07-15 10:39:09 -04:00
Ayaz Hafiz
946004a82f
Support immediate derivers for numbers 2022-07-15 10:39:09 -04:00
Ayaz Hafiz
2e20441157
Num * can't be derived for encoding, but concrete numbers can be 2022-07-15 10:39:09 -04:00
Ayaz Hafiz
7b23077265
Treat numbers as ad-hoc types for the purpose of checking ability obligations 2022-07-15 10:39:09 -04:00
Ayaz Hafiz
568e8d9475
Remove explicit string deriving code in favor of immediate 2022-07-15 10:39:09 -04:00
Ayaz Hafiz
9a66e936a8
Switch String deriving to be an immediate deriver 2022-07-15 10:39:08 -04:00
Ayaz Hafiz
c98ba441cf
Properly handle immediate derivations 2022-07-15 10:38:11 -04:00
Ayaz Hafiz
e91247a64d
Store ability member lambda sets in storage subs 2022-07-15 10:38:11 -04:00
Ayaz Hafiz
52d3f9721f
Add function to extract ability member's lambda sets at regions 2022-07-15 10:38:11 -04:00
Ayaz Hafiz
759134885b
Explain pushing/popping types on region labelling stack 2022-07-15 10:38:10 -04:00
Richard Feldman
d75e222256
Drop a debug_assert that could cause problems 2022-07-15 10:07:20 -04:00
Richard Feldman
c4a3428b34
bindgen std::convert::Infallible for empty tag unions 2022-07-15 10:07:07 -04:00
Folkert de Vries
460b822caa
Merge pull request #3501 from rtfeldman/derive-tag-union-encoding-gen
Derive tag union encoding gen
2022-07-15 15:57:41 +02: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
Richard Feldman
30dfbc2ca8
Merge pull request #3518 from rtfeldman/assoc-list-dict
Assoc list dict
2022-07-14 18:31:00 -04:00
Brian Carroll
10ac17bab2
Merge pull request #3538 from rtfeldman/wasi-libc-build-env-var
wasi-libc-sys: use environment variables to translate from build.rs to a const, instead of rust code generation
2022-07-14 22:34:14 +01:00
Ayaz Hafiz
5d70a8dbe1
Even more dead code 2022-07-14 16:16:30 -04:00
Ayaz Hafiz
51fd7711e7
Remove dead code 2022-07-14 16:16:30 -04:00
Ayaz Hafiz
6611cce22c
Prefer keeping recursion var when merging tag union payloads 2022-07-14 16:16:30 -04:00
Ayaz Hafiz
7433cc5c95
Generate alias type size for ZATs 2022-07-14 16:16:25 -04:00
Ayaz Hafiz
3c4a55f4c1
Fix layout of ZATs when they end up with a closure argument 2022-07-14 16:16:17 -04:00
Folkert
b6224a3806
ugly hack to make the docs build 2022-07-14 22:15:19 +02:00
Ayaz Hafiz
70c77596a3
Apply unnecessary lambda set arg correction 2022-07-14 12:38:53 -04:00
Ayaz Hafiz
e2326efd0b
Include real_var when checking occurs
The real_var can have occurs that aren't represented by the type
variables, especially in the presence of recursive checks.
2022-07-14 12:26:34 -04:00
Ayaz Hafiz
20c2c308fa
Include ZATs in host exposed aliases 2022-07-14 12:26:11 -04:00
Richard Feldman
24df6ef93b
Get Result layouts from vars 2022-07-14 12:23:36 -04:00
Ayaz Hafiz
161c2101a7
Properly link lambda set variables in host exposed aliases 2022-07-14 12:20:39 -04:00
Anton-4
632f153b3e
use legacy linker for all tests until #3540 is fixed 2022-07-14 18:02:08 +02:00
Folkert
f0707fd92b
use OUT_DIR in wasm repl module building 2022-07-14 17:58:43 +02:00
Folkert
a75af513c1
remove extra layer of quotes 2022-07-14 17:57:40 +02:00
Folkert de Vries
1b1b63aad0
Merge branch 'trunk' into assoc-list-dict 2022-07-14 16:47:50 +02:00
Ayaz Hafiz
d4d073d8c6
Rename Derived to HasAbility 2022-07-14 10:38:37 -04:00