Commit Graph

43 Commits

Author SHA1 Message Date
Wildan M
795aa87b72
Fix rust compilation 2026-10-16 17:30:02 +07:00
Wildan M
78f1d0351d
prefix: Move clang env to compiler option 2026-09-13 23:53:37 +07:00
Wildan M
9a02547633
prefix: Fix curl for fedora when building rust 2026-08-26 10:26:45 +07:00
Konstantin Shabanov
9b1932db7f recipes: rust: Set SSL_CERT_FILE explicitly
Otherwise, rust recipe fails to download using curl:

+ python3 /mnt/redox/recipes/dev/rust/source/x.py install --config config.toml --jobs 32
downloading https://static.rust-lang.org/dist/2026-04-14/rust-std-beta-x86_64-unknown-linux-gnu.tar.xz
running: curl --progress-bar --retry-all-errors --location \
--speed-time 30 --speed-limit 10 --connect-timeout 30 \
--output /tmp/nix-shell.LcAteo/tmpuv1ls9sy --continue-at - \
--retry 3 --show-error --remote-time --fail \
https://static.rust-lang.org/dist/2026-04-14/rust-std-beta-x86_64-unknown-linux-gnu.tar.xz
curl: (60) SSL certificate OpenSSL verify result: unable to get local issuer certificate (20)
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the webpage mentioned above.
Warning: Problem (retrying all errors). Retrying in 1 second. 3 retries left.
curl: (60) SSL certificate OpenSSL verify result: unable to get local issuer certificate (20)
More details here: https://curl.se/docs/sslcerts.html
2026-07-30 23:15:44 +07:00
Konstantin Shabanov
fba3a493fd recipes: rust: Fix line endings 2026-07-30 23:03:59 +07:00
Wildan M
402f2f4cdb toolchain: Add wasip1 target and miri 2026-07-26 15:35:18 +02:00
Jeremy Soller
a42a64e37a Support nightly 2026-05-24 2026-05-26 07:19:36 -06:00
Wildan M
6862a7b98d
Adapt changes needed for linux-relibc 2026-05-03 09:39:01 +07:00
Wildan M
eaa211dfbc
Set rpath and add more deps to cookbook 2026-04-02 06:15:48 +07:00
Wildan M
326be5fd56
Reexport flags for cc crate 2026-03-05 16:48:51 +07:00
Wildan M
726cc0788c
Fix rust recipe linker flag, remove libxml2 from llvm 2026-03-03 23:38:21 +07:00
Wildan M
627a958ddd
Make rust config configurable by target 2026-03-02 01:40:55 +07:00
Wildan M
fad6779cdc
Set llvm in rust for redox dynamically linked 2026-02-26 15:22:01 +07:00
Wildan M
f3748bf466
Fix rust compilation, add rustdoc tool 2026-02-24 05:48:47 +07:00
Wildan M
2822d533ea
Add clang-install to relibc prefix and use them for llvm-config 2026-02-21 17:55:49 +07:00
Wildan M
7a6f68365f
Link zstd to rust 2026-02-15 02:09:39 +07:00
Wildan M
83a7659262
Workaround support for rust-lld 2026-02-12 12:17:06 +07:00
Wildan M
4ce24cee73
Few changes on relibc 2026-02-11 23:44:55 +07:00
Wildan M
8590ec042a
Boostrap rust from cookbook 2026-02-11 23:44:55 +07:00
Wildan M
7cf9908b35
Use proper jobs for rust recipe 2026-02-01 19:35:04 +07:00
Wildan Mubarok
802c162cc0 Just overwrite config.toml 2025-12-31 04:11:30 +00:00
Wildan M
573bb50cca
Build cargo in rust recipe 2025-12-30 17:21:20 +07:00
Wildan M
941784af9d
Fix and improve LLVM and Rust compilation 2025-12-07 20:54:23 +07:00
Wildan M
d461f47aee
Use git filter to allow tracking of shallow clone 2025-12-05 07:31:36 +07:00
Jeremy Soller
ab57f8eab0
rust: remove unused llvm-config 2025-11-21 11:19:50 -07:00
Jeremy Soller
cb3a5599e7
Use llvm-config in rust recipe folder and update to llvm21 2025-11-21 10:47:07 -07:00
Jeremy Soller
0580e3c3db
Update rust submodule 2025-11-21 10:46:37 -07:00
Jeremy Soller
898747167c
Rename llvm20 to llvm21 (actual version) 2025-11-21 10:37:29 -07:00
Jeremy Soller
1efe5f71aa
Add llvm20 and use for rust recipe 2025-11-21 10:08:58 -07:00
Jeremy Soller
b09eb0ca29
Update rust branch 2025-11-20 12:36:02 -07:00
Wildan Mubarok
b1a40a2b57 Strip is handled automatically 2025-07-25 08:50:43 +00:00
Wildan Mubarok
6098ef179a Update args and fix rust auto deps 2025-07-25 07:07:31 +00:00
Wildan Mubarok
2b0c27c02e Revert comments 2025-07-25 05:02:57 +00:00
Wildan Mubarok
fe314d7b6a Add RUSTFLAGS again 2025-07-25 05:00:21 +00:00
Wildan Mubarok
7b9f586c37 Update and Fix rust linking 2025-07-25 03:50:05 +00:00
Wildan Mubarok
8d10768c19 Implement shallow clone and migrate rust recipe 2025-07-13 06:47:11 -06:00
Jeremy Soller
9c433f4d48
Merge llvm18-shared and llvm18 into llvm18 2025-05-06 21:53:21 -06:00
Jeremy Soller
c1bd151d4e
Add recipe for libstdc++ 2025-04-24 17:34:47 -06:00
Anhad Singh
4f70981463
feat(rustc): dynamic
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-02-10 23:22:28 +11:00
Ribbon
5e66c2fb26 Add ABI separation on the LLVM recipe 2024-06-07 18:55:31 +00:00
Jeremy Soller
20465f86f0
Set crt-static to true in rust recipe 2024-05-30 11:37:45 -06:00
Jeremy Soller
74e18a5fb5
Update llvm and rust 2024-05-29 09:54:05 -06:00
Ribbon
7f926bf64d Add partial ABI separation on recipe dependencies and improve names 2023-12-11 16:10:06 +00:00