Open fearocanity opened 9 months ago
I'm not quite sure how you get this error. The prctl
crate hasn't changed in years and most definitely has a set_name
function. Are you compiling on Linux? I don't think other platforms have an equivalent to set_name.
I'm not quite sure how you get this error. The
prctl
crate hasn't changed in years and most definitely has aset_name
function. Are you compiling on Linux? I don't think other platforms have an equivalent to set_name.
I'm specifically building it in Termux (I haven't tried on my actual linux ones since i'm specifically using this tool on android for some testings). I have tried reinstalling proxymuxer, i have still no dice. (Btw i'm new to rust, 'so sorry for trouble)
The prctl package installed came from https://github.com/rust-lang/crates.io-index#prctl@1.0.0
.
The prctl
crate probably doesn't have bindings for your target architecture. I should make the set_name calls conditional, since they are just eye-candy anyway. Can you run cargo version -v
please so I can see what architecture Termux reports?
The
prctl
crate probably doesn't have bindings for your target architecture. I should make the set_name calls conditional, since they are just eye-candy anyway. Can you runcargo version -v
please so I can see what architecture Termux reports?
I got:
cargo 1.75.0
release: 1.75.0
host: aarch64-linux-android
libgit2: 1.7.1 (sys:0.18.1 vendored)
libcurl: 8.4.0-DEV (sys:0.4.68+curl-8.4.0 vendored ssl:OpenSSL/3.1.4)
os: Android [unknown bitness]
I've pushed a new version which switches prctl handling to the nix crate. This may work better for you. Would you mind testing and reporting back please?
I've pushed a new version which switches prctl handling to the nix crate. This may work better for you. Would you mind testing and reporting back please?
Sure, I tried it. But it gives an error again.
I got an error while building.