armbian@armbian-build:~/proxychains-rs$ rustup toolchain install nightly
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.97.0-nightly (c935696dd 2026-04-29)
armbian@armbian-build:~/proxychains-rs$ rustup run nightly cargo build -p proxychains_rs --release
Updating crates.io index
Downloaded dtor v0.1.1
Downloaded cc v1.2.47
Downloaded find-msvc-tools v0.1.5
Downloaded libc v0.2.177
Downloaded shlex v1.3.0
Downloaded ctor-proc-macro v0.0.7
Downloaded dtor-proc-macro v0.0.6
Downloaded ctor v0.6.1
Downloaded 8 crates (949.9KiB) in 1.20s
Compiling dtor-proc-macro v0.0.6
Compiling libc v0.2.177
Compiling ctor-proc-macro v0.0.7
Compiling dtor v0.1.1
Compiling ctor v0.6.1
Compiling proxychains_rs v5.0.0 (/home/armbian/proxychains-rs)
error[E0425]: cannot find type `VaListImpl` in module `::core::ffi`
--> src/core.rs:572:35
|
572 | let mut arglist: ::core::ffi::VaListImpl;
| ^^^^^^^^^^ not found in `::core::ffi`
For more information about this error, try `rustc --explain E0425`.
error: could not compile `proxychains_rs` (lib) due to 1 previous error
I was able to get it to build with the following diff, but I have no idea if it is correct or not :-)
diff --git a/src/core.rs b/src/core.rs
index 08f76db..c07999e 100644
--- a/src/core.rs
+++ b/src/core.rs
@@ -569,14 +569,14 @@ unsafe extern "C" fn encode_base_64(
#[no_mangle]
pub unsafe extern "C" fn proxychains_write_log(mut str: *mut core::ffi::c_char, mut args: ...) {
let mut buff: [core::ffi::c_char; 4096] = [0; 4096];
- let mut arglist: ::core::ffi::VaListImpl;
+ let mut arglist: ::core::ffi::VaList;
if proxychains_quiet_mode == 0 {
arglist = args.clone();
vsnprintf(
buff.as_mut_ptr(),
::core::mem::size_of::<[core::ffi::c_char; 4096]>() as size_t,
str,
- arglist.as_va_list(),
+ arglist,
);
fprintf(
stderr,
I was able to get it to build with the following diff, but I have no idea if it is correct or not :-)