Commit graph

6129 commits

Author SHA1 Message Date
Ayaz
10dd57d45d
Merge pull request #5511 from roc-lang/print-codegen-info
Differentiate generating final IR and dumping it to an object in cgen
2023-06-06 17:49:36 -05:00
Ayaz Hafiz
100e8e34e0
Use a larger stack for a test that fails without it 2023-06-06 15:51:41 -05:00
Ayaz Hafiz
e2482c8b1d
Unused var 2023-06-06 15:48:01 -05:00
Richard Feldman
107c6b0777
Merge pull request #5518 from JTeeuwissen/DecRef-invalid-value_ptr
DecRef union clear tag id
2023-06-05 14:37:19 -04:00
Ayaz
f582057b34
Merge pull request #5498 from fdbeirao/nice-messages-for-https-errors
Nice messages for https errors
2023-06-05 09:39:58 -05:00
J.Teeuwissen
21d4b61fca
DecRef union clear tag id 2023-06-05 14:55:37 +02:00
Fábio Beirão
3482bb0108
Adjust the conditional imports to the fact that wasm doesn't use https for packages 2023-06-05 10:50:06 +02:00
Fábio Beirão
f1a581f5c5
Apply clippy suggestions 2023-06-04 15:37:41 +02:00
Richard Feldman
612877036a
Merge pull request #5500 from roc-lang/builtin-memcpy-memset
Builtin memcpy
2023-06-04 09:27:51 -04:00
Fábio Beirão
7e3190553c
Run cargo fmt --all 2023-06-04 14:20:30 +02:00
Brendan Hansknecht
6c50fc8211
fix test 2023-06-03 21:53:59 -07:00
Brendan Hansknecht
829b71aa1f
fully take ownership of memcpy in the builtins 2023-06-03 19:05:19 -07:00
Ayaz Hafiz
6702efaf29
Differentiate generating final IR and dumping it to an object in cgen
So that we can see how much time it takes to build LLVM IR vs run it
through LLVM. For the dev backends this is immaterial
2023-06-03 17:54:09 -05:00
J.Teeuwissen
d8f1b1bfe4
removed refcount type from proc 2023-06-03 19:25:13 +02:00
Brendan Hansknecht
08d4ac558b
ignore memcpy_decision in pe linker 2023-06-02 17:02:59 -07:00
Brendan Hansknecht
a745b57fb2
move cpuid functions into separate assembly file 2023-06-02 16:16:40 -07:00
Brendan Hansknecht
b899b54354
change assembly comment style to hopefully fix windows 2023-06-02 15:54:08 -07:00
Brendan Hansknecht
341ef9bb7b
prefix assembly functions with _ on macos 2023-06-02 15:26:39 -07:00
Brendan Hansknecht
60babcc56e
fix typo 2023-06-02 15:23:07 -07:00
Brendan Hansknecht
1a800ef228
run cargo clippy --fix 2023-06-02 15:23:07 -07:00
Brendan Hansknecht
86417a8457
correctly handle bss section in surgical linker 2023-06-02 15:23:06 -07:00
Brendan Hansknecht
7b8bd988d4
change to more specific .balign assembly attribute 2023-06-02 15:23:06 -07:00
Brendan Hansknecht
60e70c6b1b
add workaround for wasm tests 2023-06-02 15:23:06 -07:00
Brendan Hansknecht
8eed06c3e1
avoid repeated calls to cpuid, it is slow 2023-06-02 15:23:06 -07:00
Brendan Hansknecht
718b7f0ce2
setup memcpy dispatch on every call for now 2023-06-02 15:23:06 -07:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
ebc6bd3f45
add more impls and memcpy 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
0e2c3e4723
add actual folly implementation of memcpy 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
77624f627b
better extract musl lib 2023-06-02 15:23:05 -07:00
Brendan Hansknecht
159f95aad1
add musl memcpy and avx2 dispatching 2023-06-02 15:23:04 -07:00
Brendan Hansknecht
ca9938bf7c
add memcpy impl to builtins 2023-06-02 15:23:04 -07:00
Fábio Beirão
ab320e161b
Add dependency on byte-unit (4.0.19) to be able to print bytes in human readable formats
Contributes to #5487
2023-06-02 17:48:43 +02:00
Fábio Beirão
200449511c
Apply textual review suggestions
Contributes to #5487
2023-06-02 17:24:10 +02:00
Fábio Beirão
03eb89a721
Use the https problem reports when something goes wrong while downloading a package
Contributes to #5487
2023-06-02 14:09:41 +02:00
Fábio Beirão
60df1b4603
Run cargo fmt --all
Contributes to #5487
2023-06-02 12:41:43 +02:00
Fábio Beirão
0a0045675b
Add nice error message for Problem::InvalidUrl(UrlProblem::DownloadTooBig)
Contributes to #5487
2023-06-02 12:39:42 +02:00
Fábio Beirão
bf22a2520e
Add nice error message for Problem::InvalidUrl(UrlProblem::MisleadingCharacter)
Contributes to #5487
2023-06-02 12:25:37 +02:00
Fábio Beirão
3ba96709fa
Add nice error message for Problem::InvalidUrl(UrlProblem::MissingHttps)
Contributes to #5487
2023-06-02 12:11:13 +02:00
Fábio Beirão
b1321659c5
Add nice error message for Problem::InvalidUrl(UrlProblem::MissingHash)
Contributes to #5487
2023-06-02 12:05:22 +02:00
Fábio Beirão
8cd09b5210
Add nice error message for Problem::InvalidUrl(UrlProblem::InvalidFragment)
Contributes to #5487
2023-06-02 11:55:18 +02:00
Fábio Beirão
bab52edba4
Add nice error message for Problem::InvalidUrl(UrlProblem::MissingTarExt)
Contributes to #5487
2023-06-02 11:40:39 +02:00
Fábio Beirão
389a714f0e
Add nice error message for Problem::InvalidUrl(UrlProblem::InvalidExtensionSuffix)
Contributes to #5487
2023-06-02 11:40:38 +02:00
Fábio Beirão
449c58cc23
Add nice error message for Problem::HttpErr
Contributes to #5487
2023-06-02 11:40:37 +02:00
Fábio Beirão
9a75542a11
Add nice error message for Problem::FsExtraErr
Contributes to #5487
2023-06-02 11:40:36 +02:00
Fábio Beirão
1080269aaa
Add nice error message for Problem::IoErr
Contributes to #5487
2023-06-02 11:40:36 +02:00
Fábio Beirão
d4d26a545e
Add nice error message for Problem::InvalidContentHash
Contributes to #5487
2023-06-02 11:40:35 +02:00
Fábio Beirão
5306570a86
Remove the url_problem_intro_x functions
This approach did not scale to other error messages
Contributes to #5487
2023-06-02 11:40:34 +02:00
Fábio Beirão
281b044ed8
Add nice error message for Problem::MultipleEncodings
Contributes to #5487
2023-06-02 11:40:33 +02:00
Fábio Beirão
c5269e24b8
Add friendly error message for Problem::UnsupportedEncoding
Contributes to #5487
2023-06-02 11:40:33 +02:00
Fábio Beirão
273b7c07c1
Initial plumbing to be able to show https errors
Related to #5487
2023-06-02 11:40:32 +02:00