Open mooleshacat opened 2 years ago
Same error here (Ubuntu 20.04)
Good resources, but no solution:
https://www.reddit.com/r/rust/comments/tfod1g/newbie_question/
https://users.rust-lang.org/t/forcing-rlib-with-cargo/73070/10
Use this:
export PTX_CRATE_BUILDING=1
i.e.:
rustup install nightly
rustup target add nvptx64-nvidia-cuda
cargo install ptx-linker
git clone https://github.com/dr-bonez/tor-v3-vanity
cd tor-v3-vanity
export PTX_CRATE_BUILDING=1
cargo +nightly install --path .
Now it will compile!
Installing tor-v3-vanity v0.1.0 (/root/onion/tor-v3-vanity)
Updating crates.io index
Compiling tor-v3-vanity v0.1.0 (/root/onion/tor-v3-vanity)
Finished release [optimized] target(s) in 3.57s
Installing /root/.cargo/bin/t3v
Installed package `tor-v3-vanity v0.1.0 (/root/onion/tor-v3-vanity)` (executable `t3v`)
It works. thanks
Errors: