Commit graph

32 commits

Author SHA1 Message Date
Brendan Hansknecht
6dc5bfb1b7
Use roc_target over target_lexicon
Tailors a target class for our needs.
Replaces tons of uses across the entire compiler.
This is a base for later adding new targets like thumb.
2024-03-31 10:50:26 -07:00
Brendan Hansknecht
e6f5ac5d2a
typo and clippy 2023-11-06 21:04:50 -08:00
Brendan Hansknecht
23c2b15115
also add static lib support with fallback to object file 2023-11-06 21:04:50 -08:00
Richard Feldman
e6c39792be
Simplify --target CLI flag strings 2023-06-20 08:10:15 -04:00
Richard Feldman
c046d417e1
Go back to wasm32 2023-06-20 08:06:34 -04:00
Richard Feldman
1423d4f50f
Use strum_macros::EnumString for Target 2023-06-20 08:01:04 -04:00
Richard Feldman
aeca4b328e
Make a single source of truth for target strings 2023-06-20 07:48:56 -04:00
Ayaz Hafiz
9ecb1bbd73
Add rationale for passing values by reference 2023-06-16 17:51:13 -05:00
Ayaz Hafiz
f7b5400c6e
Revert "Bump max by-value size"
This reverts commit e53937bba6.
2023-06-16 15:26:09 -05:00
Ayaz Hafiz
314cc7855a
Revert "Check if benchmarks are weird"
This reverts commit 24e7a56f4b.
2023-06-16 15:26:02 -05:00
Ayaz Hafiz
24e7a56f4b
Check if benchmarks are weird 2023-06-16 14:49:01 -05:00
Ayaz Hafiz
e53937bba6
Bump max by-value size 2023-06-16 12:30:31 -05:00
Ayaz Hafiz
47fb9fe6f2
Implement struct-by-reference for structs over 4 machine words 2023-06-16 10:30:40 -05:00
Brendan Hansknecht
20bd3655c2
change wasi object file to .wasm 2023-04-26 12:51:09 -07: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
4a89bee0a5
centralize package versions except for vendor and excluded 2023-03-06 19:29:09 -08:00
Brendan Hansknecht
5485c8a5b0
update to using workspace package spec 2023-03-06 16:36:18 -08:00
Brendan Hansknecht
c9e4badd93
update as many dependencies as possible to use the workspace version of the package 2023-03-06 12:43:48 -08:00
Brendan Hansknecht
7a944113a0
move build_file and related functions to roc_build
This is needed of glue to be able to call build_file.
Also does some other changes to avoid circular dependencies.
2023-03-04 10:00:43 -08:00
Folkert
2606917d57
fix wasm executable extension 2022-12-29 17:05:46 +01:00
Folkert
1995d8b3df
refactor cli/src/build.rs 2022-12-29 16:50:20 +01:00
Richard Feldman
7f617c87bf
Change precompiled host filename format 2022-11-18 17:08:10 -05:00
Luke Boswell
f3bdb5f321
updating rust package documentation 2022-11-03 20:00:06 +11:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00
Richard Feldman
26ee1a01bc
Merge pull request #3691 from rtfeldman/cargo_verson_change
changed Cargo versions from 0.1.0 to 0.0.1
2022-08-05 09:13:04 -04:00
Folkert de Vries
940d912ca0 unknown is unix, right 2022-08-03 11:41:44 +02:00
Anton-4
6a15a7b41b
changed Cargo versions from 0.1.0 to 0.0.1 2022-08-03 11:41:19 +02:00
Folkert de Vries
86f2bb4343 add darwin as a supported OS 2022-08-02 19:54:44 +02:00
Folkert de Vries
1366be4a50 formatting 2022-08-02 00:10:26 +02:00
Folkert de Vries
7df31619dd add the concept of an OS to target info 2022-08-01 23:53:17 +02:00
Folkert de Vries
23411ea147 add the Windows64 target 2022-08-01 23:10:31 +02:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00