Commit Graph

15916 Commits

Author SHA1 Message Date
Richard Feldman
0c498d8d87
Improve a comment 2022-05-25 23:55:39 -04:00
Richard Feldman
2a9c5eee28
Fix nullable unwrapped tests 2022-05-25 23:55:38 -04:00
Richard Feldman
52c2b715d6
Recursively drop payload 2022-05-25 23:55:38 -04:00
Richard Feldman
82c1682a46
Revert "Try out a ManuallyDrop thing on payloads"
This reverts commit 129c9a04fd.
2022-05-25 23:55:38 -04:00
Richard Feldman
56bbb66d63
Drop unused #[allow(unused_imports)] 2022-05-25 23:55:38 -04:00
Richard Feldman
d60fc6e0c7
Fix ReferenceCount impl for nullable unwrapped 2022-05-25 23:55:38 -04:00
Richard Feldman
abab2a3117
Simplify some unwrapped nullable bindgen 2022-05-25 23:55:38 -04:00
Richard Feldman
129c9a04fd
Try out a ManuallyDrop thing on payloads 2022-05-25 23:31:29 -04:00
Brian Carroll
44bca1c8c5
clippying & fmt'ing 2022-05-26 00:27:18 +01:00
Brian Carroll
11c1c92cc1
wasm: self-review edits 2022-05-25 23:11:37 +01:00
Brian Carroll
4300ef8b47
wasm: cleanup Section trait 2022-05-25 22:40:46 +01:00
Brian Carroll
da4529ab16
Clippyyy, Clippyyy, Clippyyy, the bush kangaroo... 2022-05-25 22:17:48 +01:00
Brian Carroll
07b83b1999
wasm: delete preload functions 2022-05-25 22:04:59 +01:00
Brian Carroll
adc16e1db1
wasm: convert CodeSection preload to parse 2022-05-25 21:57:04 +01:00
Brian Carroll
6ef445dc3f
wasm: delete ImportSection::append, which can never be called 2022-05-25 21:36:15 +01:00
Brian Carroll
731a227c61
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-parser-trait 2022-05-25 21:15:08 +01:00
Richard Feldman
ab96f510fe
Add some documentation to ReferenceCount trait 2022-05-25 15:28:12 -04:00
Richard Feldman
dabf741a65
Drop an unnecessary test (static strings make it moot) 2022-05-25 13:42:13 -04:00
Richard Feldman
1dbe9e687d
Make some payload logic more generic 2022-05-25 13:03:01 -04:00
Richard Feldman
2999299148
Pass along position of null element in bindgen 2022-05-25 13:02:30 -04:00
Richard Feldman
bffe2dea57
Fix some #[derive] bindgen for recursive tag unions 2022-05-25 12:57:49 -04:00
Richard Feldman
909969ffee
Drop unused import 2022-05-25 12:57:23 -04:00
Richard Feldman
d717ad4210
Treat recursive fields as having enumerations 2022-05-25 12:57:23 -04:00
Richard Feldman
2f28d52c1a
Fix bug around recording recursive tag union RocTypes 2022-05-25 12:57:23 -04:00
Richard Feldman
713f8bc4ed
Add Hash impl to RocStr 2022-05-25 12:46:20 -04:00
Richard Feldman
1001fdff82
Bump refcount when cloning unwrapped nullables 2022-05-25 09:11:25 -04:00
Brian Carroll
db9881bbfb
wasm: use Parse instances for most sections (CodeSection todo) 2022-05-25 08:35:05 +01:00
Brian Carroll
1219af2664
wasm: implement Parse for Function section 2022-05-25 08:21:50 +01:00
Richard Feldman
54adbe3f44
Store recursion type in RocType struct fields 2022-05-24 21:11:29 -04:00
Richard Feldman
89fdbf9a78
Drop unused generated variable 2022-05-24 21:08:06 -04:00
Richard Feldman
c1f1b4ad0b
Give bindgen more nullable-unwrapped info 2022-05-24 20:17:00 -04:00
Richard Feldman
721b419b98
bindgen ReferenceCount impl for nullable-unwrapped
This is necessary to avoid double-frees on drop!
2022-05-24 16:35:09 -04:00
Richard Feldman
1bc640d53e
re-export Storage from roc_std 2022-05-24 16:16:05 -04:00
Richard Feldman
63dd7af2f0
Properly drop a pointer 2022-05-24 16:16:05 -04:00
Richard Feldman
c748ff1ae1
Fix generated roc_alloc use for nullable unwrapped 2022-05-24 16:16:05 -04:00
Richard Feldman
11b1654c6b
Fix generated drop impl for nullable unwrapped 2022-05-24 16:16:05 -04:00
Richard Feldman
22f55cc42b
Add bindgen fixture for nullable-unwrapped 2022-05-24 16:16:04 -04:00
Richard Feldman
82e8a14408
Make indoc available to bindgen fixtures 2022-05-24 16:16:04 -04:00
Richard Feldman
74c0a38783
Make todo! error message more specific 2022-05-24 16:16:04 -04:00
Richard Feldman
56c5ab5f00
Restore non-nullable tag union bindgen 2022-05-24 16:16:04 -04:00
Richard Feldman
8bcc815661
Merge pull request #3128 from rtfeldman/multi-arch-bindgen
Multi-arch bindgen
2022-05-24 13:26:29 -04:00
Richard Feldman
0f140facda
Merge pull request #3127 from rtfeldman/www
Sync up changes from #3041
2022-05-24 13:00:02 -04:00
Richard Feldman
24500928bd
Merge pull request #3124 from rtfeldman/fix-macos
Fix macOS builds
2022-05-24 12:55:57 -04:00
Richard Feldman
826c822090
c l i p p y 2022-05-24 12:12:02 -04:00
Richard Feldman
9177ec1344
Drop some obsolete tests
These aren't really adding value now that we have
integration tests for them, and they are arduous
to maintain.
2022-05-24 12:08:09 -04:00
Richard Feldman
c4288869d4
Update gen_rs tests 2022-05-24 12:08:09 -04:00
Richard Feldman
fb5f30e5ed
Rename Arm to Aarch32, fix some of its code gen
As far as I can tell, Aarch32 only supports 32-bit
registers, so its pointers should be 4 bytes and
its F64 alignment should be 4 bytes as well
(because it's emulated in software).
2022-05-24 12:08:08 -04:00
Richard Feldman
777625be21
Cover all architecture variations in gen_rs tests 2022-05-24 12:08:08 -04:00
Richard Feldman
f56e07669c
Don't print an excess newline for structs 2022-05-24 12:08:08 -04:00
Richard Feldman
98a4ce231d
Use IndexMap in bindgen_rs 2022-05-24 12:08:08 -04:00