Richard Feldman
d57334dd63
Merge pull request #2566 from rtfeldman/gui-example
...
GUI Example
2022-02-26 07:48:38 -05:00
Brendan Hansknecht
dfa6d30812
fix escaped literals
2022-02-25 22:10:41 -08:00
Brendan Hansknecht
ffee5ab97a
add some more tests, including failure for new line
2022-02-25 22:05:21 -08:00
Brendan Hansknecht
c025b8806b
disable accidentally enabled test on dev backend
2022-02-25 21:07:20 -08:00
Brendan Hansknecht
203328da5c
Merge pull request #2581 from rtfeldman/cleanup-features
...
Cleanup features
2022-02-26 05:00:36 +00:00
Brendan Hansknecht
39d070e543
flip platform flag to be default
2022-02-25 20:10:36 -08:00
Brendan Hansknecht
85ae871ced
remove init_arch from link
2022-02-25 15:36:12 -08:00
Brendan Hansknecht
6968647cc5
update versions to lockfile
2022-02-25 11:41:05 -08:00
Brendan Hansknecht
c13c8ece1f
pipe target and roc_build features around
2022-02-25 11:37:44 -08:00
Brendan Hansknecht
f59b5cab95
fix undefined symbols in roc_std with platform feature
2022-02-25 11:05:08 -08:00
Brendan Hansknecht
8393604b58
fix building without llvm
2022-02-25 10:41:11 -08:00
Brendan Hansknecht
3dce239bea
remove default features from build to avoid accidentally including them
2022-02-25 10:19:43 -08:00
Emi Simpson
043923c62b
🧹 Clean up unused imports
2022-02-25 13:14:45 -05:00
Emi Simpson
10f665f6c5
Amend 4d10c22
: 🐛 Fix a typo in doccomment for ModuleNotImported
...
blammed by the spellchecker! how embarrassing
2022-02-25 11:46:46 -05:00
Richard Feldman
628d1ae30a
Merge remote-tracking branch 'origin/trunk' into gui-example
2022-02-25 11:21:50 -05:00
Tom Dohrmann
f1a18d6097
don't create slice from null pointer
2022-02-25 17:15:07 +01:00
Tom Dohrmann
ba311319bf
move safe code out of unsafe block
2022-02-25 17:10:47 +01:00
Tom Dohrmann
25c668d72c
simplify write_c_str
and fix type
2022-02-25 17:03:30 +01:00
Tom Dohrmann
466d12a6ff
simplify from_str
2022-02-25 17:01:35 +01:00
Tom Dohrmann
ea3f6210fa
change from_slice
to from_str
2022-02-25 16:59:39 +01:00
Tom Dohrmann
edd02e01e1
simplify clone
2022-02-25 16:56:50 +01:00
Tom Dohrmann
d2ff36c535
simplify get
2022-02-25 16:54:18 +01:00
Tom Dohrmann
f248643890
use Rust's default allocator
2022-02-25 16:51:49 +01:00
Tom Dohrmann
82377c3795
Merge pull request #2577 from rtfeldman/fix-ident-str-clone
...
fix `IdentStr::clone`
2022-02-25 16:43:50 +01:00
Brendan Hansknecht
cd0d89fdc9
Merge remote-tracking branch 'origin/trunk' into single-quote-literal
2022-02-25 07:39:58 -08:00
Emi Simpson
40375adbb0
Merge remote-tracking branch 'upstream/trunk' into fix-panic-on-unimported-module
2022-02-25 09:18:19 -05:00
Tom Dohrmann
5245770e1a
fix copy_length
2022-02-25 15:15:07 +01:00
Richard Feldman
a49b66e379
Merge branch 'trunk' into gui-example
2022-02-25 08:22:36 -05:00
Tom Dohrmann
954064fa1e
make more types more explicit
2022-02-25 13:58:07 +01:00
Tom Dohrmann
868316abb8
make types more explicit
2022-02-25 13:02:11 +01:00
Emi Simpson
4d10c22442
🐛 ️ Handle unimported modules properly
...
helpful error, not panic!
Closes #2422
2022-02-24 20:52:25 -05:00
Brendan Hansknecht
ec411b7a62
Also build host for size when using --opt-size
2022-02-24 16:21:12 -08:00
Brendan Hansknecht
69b4e78ac7
Add --opt-size and compiling smaller binaries
2022-02-24 15:39:50 -08:00
Richard Feldman
1e2083e804
Merge remote-tracking branch 'origin/trunk' into gui-example
2022-02-24 18:11:18 -05:00
Brendan Hansknecht
c327681ebc
Wasmer: use cranelift for non-x86_64 since singlepass is not supported
2022-02-24 10:31:21 -08:00
Brendan Hansknecht
f7c0e2ef19
Merge remote-tracking branch 'origin/trunk' into single-quote-literal
2022-02-24 10:13:39 -08:00
Richard Feldman
7179f87536
Merge pull request #2569 from rtfeldman/simplify-pattern-constraint-generation
...
Simplify pattern constraint generation
2022-02-24 07:28:17 -05:00
ayazhafiz
f8c7349193
Simplify pattern constraint generation
...
At the time we introduced presence constraints for tag unions, I added a
"destruct_position" variable so that we didn't change the typechecking
semantics for everything all at once, and because I wasn't totally sure
what I was doing was correct. But now we're more confident in this
approach, and every pattern is by definition a destructuring, so there
is no need for this flag.
Also should fix some potential bugs we didn't notice before with presence
constraints in closure variables, though I can't find a good test to
reproduce this, since closure variables are hidden from the user.
2022-02-24 01:08:18 -05:00
Tom Dohrmann
0169a6c579
Merge pull request #2561 from rtfeldman/remove-capacity-from-roc_std
...
reimplement `RocList` and `RocStr`
2022-02-24 05:42:10 +01:00
Richard Feldman
655373dbe7
Merge remote-tracking branch 'origin/trunk' into gui-example
2022-02-23 21:25:01 -05:00
Richard Feldman
0d037f2204
Appease clippy
2022-02-23 21:19:02 -05:00
Folkert de Vries
3066aef1b7
Merge pull request #2550 from rtfeldman/improve-link-lib64
...
[Enhancement] Improve library lookup in native linker
2022-02-23 23:25:33 +01:00
Tom Dohrmann
788c8a6af2
reimplement RocList
and RocStr
2022-02-23 16:02:13 +01:00
Brian Carroll
b327418a6a
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-specializations
2022-02-22 23:48:30 +00:00
Brian Carroll
ce6d5b1727
mono: Fix recursive union arg layout for calls to helper functions
2022-02-22 23:42:48 +00:00
Anton-4
8fee48c3fa
windows zig path validation workaround
...
std::fs::canonicalize adds a special windows prefix ?, zig erroneously (ziglang/zig#1509 ) does not allow ? in windows paths, dunce correctly removes this ? prefix
2022-02-22 16:17:21 +01:00
hafiz
2ff50333ff
Merge pull request #2556 from rtfeldman/2533-review
...
#2533 review
2022-02-22 00:21:01 -05:00
Richard Feldman
91169a47f5
Merge pull request #2553 from rtfeldman/roc-link-flags
...
Read ROC_LINK_FLAGS env var to inject more link flags
2022-02-22 00:07:32 -05:00
ayazhafiz
e420ebd023
Add TODOs for opaque type comments that will need to be changed later
2022-02-21 23:21:39 -05:00
hafiz
ca9ecbea52
Merge pull request #2533 from rtfeldman/abilities!
...
[WIP] Spike for abilities and friends
2022-02-21 23:18:40 -05:00