Commit Graph

16277 Commits

Author SHA1 Message Date
Anton-4
e10bf5b71a
added target-cpu=native to config 2022-06-15 15:49:30 +02:00
Anton-4
ec7bd86725
patch 2022-06-15 14:18:15 +02:00
Anton-4
2f08caceee
fmt 2022-06-15 13:58:46 +02:00
Anton-4
47a24ad142
don't enable avx on all x86-64 2022-06-15 12:24:41 +02:00
Anton-4
52aefd76b4
Merge pull request #3220 from rtfeldman/better-nix-editor
cleaner way to run editor from nix
2022-06-14 18:43:43 +02:00
Anton-4
0d16cdcfa3
cleaner way to run editor from nix 2022-06-14 17:26:46 +02:00
Richard Feldman
c583112497
Merge pull request #3214 from rtfeldman/recursive-bindgen
Recursive tag union bindgen fixes
2022-06-12 12:11:18 -04:00
Richard Feldman
8d6573fd76
Add a comment explaining the ManuallyDrop 2022-06-12 11:07:24 -04:00
Richard Feldman
7a5010e68b
Merge remote-tracking branch 'origin/trunk' into recursive-bindgen 2022-06-12 11:07:19 -04:00
Folkert de Vries
b1308f71cf
Merge pull request #3194 from rtfeldman/cstr
roc_std improvements
2022-06-12 17:04:48 +02:00
Folkert
8d85d87326
extend lifetime of string till end of block 2022-06-12 16:09:44 +02:00
Richard Feldman
b08e704614
Use core:: over std:: in some roc_std places 2022-06-12 09:11:21 -04:00
Richard Feldman
018ddcdf3a
Update some comments 2022-06-12 09:11:10 -04:00
Richard Feldman
af69c52846
Fix how RocList updates in-place in another case 2022-06-12 09:05:14 -04:00
Folkert
ecebe3b7d3
manually free memory when the refcount has been erased 2022-06-12 14:37:43 +02:00
Folkert
065c637de4
free memory if realloc fails 2022-06-11 21:32:32 +02:00
Folkert
de24a1ca74
fix incorrect offset used to look up refcount 2022-06-11 21:29:10 +02:00
Folkert
dcdffcc489
remove undesired drop 2022-06-11 20:08:06 +02:00
Folkert de Vries
e7c2ea32b1
Merge pull request #3213 from rtfeldman/found-specializations-assert
Add a few assertions to MadeSpecializations
2022-06-11 15:45:15 +02:00
Folkert de Vries
413025013f
Merge pull request #3209 from rtfeldman/pending-abilities-store
Distinguish between pending and resolved ability stores, and resolve external lambda set vars
2022-06-11 15:44:18 +02:00
Folkert de Vries
c2aa476c11
Merge pull request #3208 from rtfeldman/abilities-store-immutable
Make abilities store immutable in mono
2022-06-11 15:39:22 +02:00
Richard Feldman
85d61f99d0
Merge pull request #3174 from rtfeldman/module-id-improvements 2022-06-11 01:42:37 -04:00
Richard Feldman
cb3a2f5c1c
Merge remote-tracking branch 'origin/cstr' into recursive-bindgen 2022-06-10 19:59:55 -04:00
Richard Feldman
6bf74629e2
cargo fmt 2022-06-10 19:59:27 -04:00
Richard Feldman
720d82598d
Merge remote-tracking branch 'origin/trunk' into cstr 2022-06-10 18:51:42 -04:00
Richard Feldman
8e51d36009
clippy 2022-06-10 18:47:58 -04:00
Richard Feldman
856eba19b2
Fix a borrow checker error in bindgen 2022-06-10 18:45:44 -04:00
Richard Feldman
d134b23d99
Delete mutually recursive union bindgen test for now 2022-06-10 18:45:44 -04:00
Richard Feldman
043e0a883f
Split recursive-union test into basic and advanced tests 2022-06-10 18:45:44 -04:00
Richard Feldman
7fd8f8ad78
Add Jared Forsyth to AUTHORS 2022-06-10 17:39:10 -04:00
Richard Feldman
a17a6a3147
Merge pull request #3212 from jaredly/cpath
Pass CPATH in to build_c_host_native to fix building the c platform under manual install
2022-06-10 17:38:21 -04:00
Richard Feldman
05c7b109fa
Revert "Have Hello World use bindgen bindings"
This reverts commit 0ed7e687ff.
2022-06-10 17:35:18 -04:00
Richard Feldman
0ed7e687ff
Have Hello World use bindgen bindings 2022-06-10 17:35:16 -04:00
Richard Feldman
eb77662ffb
Bindgen a different Drop impl for recursive tag unions 2022-06-10 17:34:46 -04:00
Richard Feldman
709ebb041c
Check for readonly earlier when dropping RocList 2022-06-10 13:24:23 -04:00
Richard Feldman
9763020edd
Use the term discriminant over variant in bindgen 2022-06-10 13:04:04 -04:00
Richard Feldman
aaaff06a11
wip debugging heap corruption detected 2022-06-10 12:42:59 -04:00
Richard Feldman
67da7bc0df
Re-enable some test assertions that work now 2022-06-10 12:35:20 -04:00
Richard Feldman
3223a9cd61
Don't special-case bindgen Debug impls for structs 2022-06-10 12:31:04 -04:00
Richard Feldman
d025edaf6f
Add a missing branch as a todo for now 2022-06-10 12:19:25 -04:00
Richard Feldman
191aee18f1
Use new TagName implementation 2022-06-10 12:19:23 -04:00
Richard Feldman
5de851fe4b
Merge branch 'cstr' into mutual-recursion 2022-06-10 12:17:44 -04:00
Ayaz Hafiz
3338ede223
Assert on external_specializations in state 2022-06-10 09:46:05 -04:00
Ayaz Hafiz
590e8af81b
Add a few assertions to MadeSpecializations
1. MadeSpecializations can only be hit when our target phase is to make
   specializations
2. Once all work is done, there can be no more requested external
   specializations
2022-06-10 09:36:26 -04:00
Jared Forsyth
6a131a7ab0 Pass CPATH in to build_c_host_native to fix building the c platform under manual install
Summary:
When doing the manual install on osx with brew-installed llvm, `clang` can't find the headers it needs.
The solution I found was to do `export CPATH=$(xcrun --show-sdk-path)/usr/include/` and then run the clang command, but roc wasn't forwarding that header on to clang.
Now it does!
2022-06-10 08:26:28 -05:00
Richard Feldman
7b49c29ec8
wip 2022-06-10 00:12:22 -04:00
Richard Feldman
8f49c86698
Add with_excess_capacity test 2022-06-09 22:55:41 -04:00
Richard Feldman
4eb7e0931c
Improve some documentation 2022-06-09 22:41:59 -04:00
Richard Feldman
a668cd67e0
Add a RocBox test and pub use it 2022-06-09 22:25:06 -04:00
Richard Feldman
67bec4828e
Use ManuallyDrop::drop 2022-06-09 22:19:59 -04:00