rust
rust copied to clipboard
Fork of Rust source that contains haiku-specific patches
Memory usage of rustc compiling librustc goes through the roof. It is the main reason we cannot build on x86 anymore, and it requires at least 5.2 GB of RAM...
libgit2-sys dependency version in 1.61.0 nightly: "0.13.1+1.4.2" libgit2-sys dependency version in 1.59.0 version = "0.12.24+1.3.0" The error is a linker error: ``` = note: /home/nielx/Haiku/build-r1beta3-x86/cross-tools-x86/lib/gcc/i586-pc-haiku/8.3.0/../../../../i586-pc-haiku/bin/ld: /home/nielx/Rust/rust-nightly/build/x86_64-unknown-linux-gnu/stage1-tools/i686-unknown-haiku/release/deps/liblibgit2_sys-73ecb7e3809c8280.rlib(rand.o): in function `git_rand_global_init': rand.c:(.text.git_rand_global_init+0x98):...
Since Rust 1.58.0 (and thus cargo 0.59.0) there is an issue linking everything together. The libcurl.so dependency has undefined symbols that are expected to be in libssh2.so, but since we...
When building Rust 1.73.0 + Cargo 0.74.0: ``` error[E0432]: unresolved import `rustix::fs::CWD` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tempfile-3.7.0/src/file/imp/unix.rs:17:55 | 17 | use rustix::fs::{linkat, renameat, unlinkat, AtFlags, CWD}; | ^^^ no `CWD` in `fs` Compiling...