Commit Graph

19207 Commits

Author SHA1 Message Date
Folkert
ab2163b800
sort symbols 2022-08-30 15:00:58 +02:00
dependabot[bot]
048766cb3a
Bump memmap2 from 0.5.5 to 0.5.7
Bumps [memmap2](https://github.com/RazrFalcon/memmap2-rs) from 0.5.5 to 0.5.7.
- [Release notes](https://github.com/RazrFalcon/memmap2-rs/releases)
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RazrFalcon/memmap2-rs/compare/v0.5.5...v0.5.7)

---
updated-dependencies:
- dependency-name: memmap2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 12:34:16 +00:00
dependabot[bot]
3745bdeb8a
Bump glyph_brush from 0.7.4 to 0.7.5
Bumps [glyph_brush](https://github.com/alexheretic/glyph-brush) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/alexheretic/glyph-brush/releases)
- [Commits](https://github.com/alexheretic/glyph-brush/compare/glyph-brush-0.7.4...glyph-brush-0.7.5)

---
updated-dependencies:
- dependency-name: glyph_brush
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 12:33:54 +00:00
Folkert de Vries
00772c3315
Merge pull request #3932 from roc-lang/dependabot/cargo/futures-0.3.24
Bump futures from 0.3.21 to 0.3.24
2022-08-30 14:32:54 +02:00
Folkert de Vries
5c7acf8f72
Merge pull request #3933 from roc-lang/dependabot/cargo/clap-3.2.18
Bump clap from 3.2.11 to 3.2.18
2022-08-30 14:32:41 +02:00
Folkert
a274da62d3
use the windows builtins .obj when cross-compiling 2022-08-30 14:27:16 +02:00
Folkert
e8f6f69bff
make filenames cross-platform 2022-08-30 14:16:20 +02:00
Folkert
42ef5d1977
build a builtins .obj file for windows cross-compilation 2022-08-30 13:49:47 +02:00
Folkert
3e78395237
changes after review 2022-08-30 12:32:19 +02:00
Folkert de Vries
92db0925a0
Merge pull request #3930 from roc-lang/building-from-source-nix
improve nix advice
2022-08-30 12:22:04 +02:00
Folkert de Vries
18b45069b3
Merge pull request #3862 from roc-lang/dependabot/cargo/bytemuck-1.12.1
Bump bytemuck from 1.11.0 to 1.12.1
2022-08-30 12:18:31 +02:00
dependabot[bot]
492eff3556
Bump clap from 3.2.11 to 3.2.18
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.11 to 3.2.18.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.18/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.11...v3.2.18)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 10:17:11 +00:00
dependabot[bot]
52b4aecb4c
Bump futures from 0.3.21 to 0.3.24
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.21 to 0.3.24.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.21...0.3.24)

---
updated-dependencies:
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 10:15:46 +00:00
Folkert de Vries
3dbf6cc99b
Merge pull request #3859 from roc-lang/dependabot/cargo/insta-1.19.0
Bump insta from 1.18.2 to 1.19.0
2022-08-30 12:14:24 +02:00
Folkert de Vries
938c55ee1e
Merge pull request #3872 from raleng/fix_formatting_multiline_strings
Fix multiline string formatting
2022-08-30 11:31:53 +02:00
Folkert de Vries
30df869f9b
Merge pull request #3929 from roc-lang/chased-ext-custom-type
chased ext custom type
2022-08-30 11:10:57 +02:00
Anton-4
aefa55e313
improve nix advice
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-08-30 11:04:05 +02:00
Brendan Hansknecht
ed7f066d33
Merge pull request #3916 from roc-lang/surgical-text-surgeries
surgical linker: extract finding surgeries in text
2022-08-30 03:00:26 +00:00
Folkert
d93d42da8c
make chasing an ext return a custom type 2022-08-30 00:51:24 +02:00
Folkert de Vries
acb71d6007
Merge pull request #3835 from roc-lang/ext-vars-in-derivers
Support bound and unbound extension variables in deriving
2022-08-30 00:34:50 +02:00
Brian Carroll
63bc153025
Fix build errors 2022-08-29 23:23:38 +01:00
Folkert
d9db0b7096
fix shared object file extension 2022-08-30 00:15:48 +02:00
Folkert
835d3b9eb0
move stuff into files 2022-08-30 00:10:44 +02:00
Folkert
62a818883a
generate a minimal, fake .dll with the host-exposed symbols 2022-08-29 23:58:05 +02:00
Folkert de Vries
f918f16b0f
Merge pull request #3922 from roc-lang/i3722
Only compile and run expects that belong to the same package
2022-08-29 23:21:17 +02:00
Folkert de Vries
d14843ee3c
Merge pull request #3925 from isaacthefallenapple/roc-std-ub
Replace unsound `MaybeUninit` deref with `ptr::copy`
2022-08-29 23:19:38 +02:00
Brian Carroll
1a8419e9e6
cli_run: support examples with more than one path argument 2022-08-29 22:13:08 +01:00
Brian Carroll
5d6037d888
cli_run: add test for static-site-gen example and print more to stdout 2022-08-29 22:05:35 +01:00
isaacthefallenapple
4c5e89f46c
replace unsound MaybeUninit deref with ptr::copy
Signed-off-by: isaacthefallenapple <isaacthefallenapple@gmail.com>
2022-08-29 17:00:03 +02:00
Ayaz Hafiz
b44d68aac5
Handle Roc's return by pointer flowing into a C ABI return by pointer 2022-08-29 08:56:22 -05:00
Folkert de Vries
1db7c3664d
Merge pull request #3877 from roc-lang/dev-backend-add-checked
dev backend add checked
2022-08-29 09:47:20 +02:00
Brendan Hansknecht
3895abd540
Merge pull request #3915 from roc-lang/surgical-use-struct-syntax
surgical linker: use struct initialization syntax
2022-08-29 03:00:34 +00:00
Brian Carroll
6cada1ab6e
Try (unsuccessfully) to fix an LLVM code gen bug
We still get a panic as follows:

cargo run run --debug examples/static-site-gen/app.roc -- examples/static-site-gen/input examples/static-site-gen/output

 Stored value type does not match pointer operand type!
  store { [0 x i64], [24 x i8], i8, [7 x i8] }* %result_value, { [0 x i64], [24 x i8], i8, [7 x i8] }* %0, align 8
 { [0 x i64], [24 x i8], i8, [7 x i8] }*
2022-08-28 23:58:42 +01:00
Brian Carroll
f2ddaa95db
Account for a compiler bug and tweak platform a bit 2022-08-28 23:29:38 +01:00
Brian Carroll
5aee798340
examples: Add a README to the static site generator 2022-08-28 21:52:04 +01:00
Richard Feldman
c6516acdb4
Drop unused ExecutionMode 2022-08-28 16:01:37 -04:00
ayazhafiz
3456a44742
Only compile and run expects that belong to the same package
In particular, don't run expects that come from modules with a different
package qualification (including subpackages; we can loosen this
restriction later), or builtins when run on userspace apps/interfaces.

Closes #3722
2022-08-28 10:16:55 -05:00
Brian Carroll
7d6f0b3806
examples: first draft of static site generator example 2022-08-28 14:33:03 +01:00
Brian Carroll
c1a38bc400
examples: move Html Roc files into platform dir 2022-08-28 14:26:00 +01:00
Folkert
d433448d6f
don't regenerate the dynhost file if it is unchanged 2022-08-28 13:17:50 +02:00
Folkert de Vries
f879798b17
Merge pull request #3917 from roc-lang/drop-as-from-tutorial
Tutorial edit until #3906 is fixed
2022-08-28 12:13:28 +02:00
Jan Van Bruggen
a53819cad1
Refer to the user with explicit 2nd-person voice 2022-08-28 01:39:30 -06:00
Jan Van Bruggen
626fe7787d
Remove trailing periods & add newlines, for consistency 2022-08-28 01:39:29 -06:00
Jan Van Bruggen
bdc9246db0
Rephrase to imperative tense, for consistency 2022-08-28 01:13:33 -06:00
Jan Van Bruggen
46634c4910
Merge pull request #3910 from JanCVanB/reformat_getting_started
Reformat the "getting started" guides for clarity & cleanliness
2022-08-27 19:16:05 -06:00
Richard Feldman
3ca9202e3b
Merge pull request #3834 from roc-lang/rust-1.63-clippy
rust 1.63 clippy
2022-08-27 21:15:36 -04:00
Richard Feldman
adb89bbf82
Merge pull request #3734 from roc-lang/decoding-optional-record-fields-illegal
Report errors for attempting to derive decoding of records with optional field types
2022-08-27 21:12:44 -04:00
Richard Feldman
c922a08856
Tutorial edit until #3906 is fixed (then revert!)
This commit should be reverted once #3906 is fixed.
2022-08-27 21:01:18 -04:00
Richard Feldman
395105ae54
Merge pull request #3904 from roc-lang/fix-as-into-glue
Fix glue for into_ and as_ on single-tag unions
2022-08-27 20:57:00 -04:00
Folkert
0ca79c7a60
add some comments 2022-08-28 00:12:48 +02:00