Commit Graph

98 Commits

Author SHA1 Message Date
Luke Boswell
7ba44a5cd0
remove gui and swift examples 2024-07-21 19:50:04 +10:00
Anton-4
fb7fa99b2c
Merge branch 'main' of github.com:roc-lang/roc into rust-1-77-2-upgrade 2024-06-18 18:47:09 +02:00
Anton-4
f7011c8e33
Merge pull request #6644 from roc-lang/rust-1-76-0-upgrade
Rust 1.76.0 upgrade
2024-05-03 07:25:19 +02:00
Agus Zubiaga
8dedd9f03c
New app header syntax
Implements the new app header syntax as discussed in Zulip [1].

    app [main] {
	cli: platform "../platform/main.roc",
	json: "../json/main.roc"
    }

Old headers still parse and are automatically upgraded to the new
syntax by the formatter.

[1] https://roc.zulipchat.com/#narrow/stream/304641-ideas/topic/Fewer.2Fdifferent.20keywords.20in.20the.20file.20header/near/418444862
2024-05-01 10:49:01 -03:00
Anton-4
d16409552c
rust 1.77 upgrade 2024-04-16 15:49:28 +02:00
Anton-4
a7b843743d
upgrade to rust 1.76.0 2024-04-15 19:20:07 +02:00
Anton-4
4d9202ec6e
upgrade to rust 1.75.0 2024-04-15 16:29:23 +02:00
Anton-4
46daccef62
rust 1.73.0 -> 1.74.1 2024-04-12 17:16:09 +02:00
Anton-4
e6e708360c
1.72.1->1.73.0 2024-04-06 15:38:14 +02:00
Brendan Hansknecht
260b94b36d
Merge branch 'main' into rust-1-72-upgrade 2024-01-17 14:36:16 -08:00
Brendan Hansknecht
f9c0d54688
Stop using "rlib"
I don't know if this matters at all, but I don't think we should use "rlib".
The [rust docs](https://doc.rust-lang.org/reference/linkage.html) suggest using "lib" by default.
"lib" probably just aliases to "rlib", but it lets the compiler pick what it wants.
I don't think this will fix anything, but I am half hopeful it will somehow fix #6121.
2024-01-16 22:36:10 -08:00
Brian Teague
60c639b60e
Consolidate gitignore
Keep certain files with no file extension

Keep specific files with no file extension

Delete all gitignore files
2024-01-10 22:16:04 -05:00
Anton-4
26f0448a94
rust 1.71.1 -> 1.72.1 2023-12-27 17:27:03 +01:00
Brendan Hansknecht
787d7f85ac
switch dbg arg ordering to make it backwards compatible 2023-12-02 21:18:32 -08:00
Brendan Hansknecht
13d2238536
update roc_dbg in platforms 2023-12-02 21:18:31 -08:00
Brendan Hansknecht
88106d1659
add basic roc_dbg impl to c platforms 2023-11-29 22:02:27 -08:00
Brendan Hansknecht
3e66254b25
update zig and rust platforms to have correct roc_panic and roc_dbg 2023-11-29 21:49:34 -08:00
Brendan Hansknecht
f5fb01fd53
Get tests passing
Add roc_dbg to some platforms.
Also start updating some roc_panic impls.
2023-11-29 21:05:49 -08:00
Brendan Hansknecht
3d6c140a30
get minimal roc_dbg working 2023-11-29 21:05:49 -08:00
Luke Boswell
c618cd5a4b
remove duplicate header in C platform example 2023-10-23 13:50:34 -07:00
Brendan Hansknecht
40a40ef6d2
get examples working 2023-10-23 13:50:31 -07:00
Richard Feldman
e25be01ccd
Update .gitignores 2023-10-19 22:04:14 -04:00
Anton-4
f078204c1f
rust 1.71.1 upgrade 2023-09-26 12:08:16 +02:00
Anton-4
f2137c90ab
upgrade to rust 1.70.0 2023-07-25 17:44:46 +02:00
Anton-4
72c85efc83
switch to rust 1.67 2023-07-10 18:25:52 +02:00
Brendan Hansknecht
4f97ab2965
remove old compiler-rt workarounds for macos 2023-06-24 17:27:11 -07:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
e520eaddcc
Merge pull request #5333 from roc-lang/wasm-flow
Fix misc wasm compilation issues
2023-04-29 20:43:58 +00:00
Anton-4
ff6ec21a09
Merge pull request #5324 from roc-lang/rust_version_upgrade
WIP Rust version upgrade
2023-04-29 18:01:04 +02:00
Anton-4
85dce119c7
downgrade to 1.66.1
going from 1.66.1 to 1.67.1 causes a segemntation fault in a wasm test, I expect because the size of Stmt and Expr have changed with that version.
2023-04-26 20:07:46 +02:00
Brendan Hansknecht
2602e37728
fix zig for wasm platform switching 2023-04-26 07:18:56 -07:00
Brendan Hansknecht
0e24403664
enable using other zig libaries in host instead of just str.zig 2023-04-25 14:14:35 -07:00
Anton-4
e784baccce
rust update, nix update, clippy fixes 2023-04-22 14:51:01 +02:00
Folkert
fdf1489df6
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-03-14 01:01:26 +01:00
Folkert
af67894b95
more formatting 2023-03-13 23:29:28 +01:00
Brendan Hansknecht
e32c5f6514
standardize on decref instead of deinit for name 2023-03-13 14:08:23 -07:00
Folkert
fe15a2e79c
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman 2023-03-08 19:46:00 +01:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00
Brendan Hansknecht
43224dcca9
remove less important Cargo.lock files that we probably shouldn't track 2023-03-06 13:01:07 -08:00
Folkert
bfbf1c7d4e
revert rocLovesRust to main 2023-03-01 21:57:10 +01:00
Folkert
fa05c49693
correct the name of the size() exposed function 2023-02-26 14:23:10 +01:00
Folkert
fee5e978f7
use roc_alloc to store unsized types 2023-02-25 16:45:58 +01:00
Folkert
f232bdda4f
fix some glue formatting 2023-02-25 16:32:10 +01:00
Folkert
6aa73b3b1f
implement stderr writing in the rust platform 2023-02-25 16:05:33 +01:00
Folkert
35980e50b8
fix function getters 2023-02-25 15:47:20 +01:00
Folkert
033618f3f4
fixes to get rocLovesRust to work 2023-02-22 21:17:50 +01:00
Folkert
b6bae82913
hello world works 2023-02-14 22:11:23 +01:00
Folkert
6c15284a8f
more wip; now we just need to generate the exposed procs at the right time 2023-02-08 22:56:38 +01:00
Folkert
1ba4d9d735
WIP 2023-01-22 11:53:02 +01:00
Folkert
c622cebea6
correct codegen for calling the extern 2023-01-20 15:07:49 +01:00